Lessons tagged: function
-
Updated on: Oct 22, 2009
How to send messages to an object using the send command
Sending messages to objects is an important part of the revTalk language and can allows you to write code in an object-orientated manner. This lesson explains the various ways to send messages to objects using a simple example. Note that you can also send messages to objects using the dispatch...
-
Updated on: Apr 15, 2010
What Are The Alternatives To Using Global Variables?
It is well known that global variables are generally a bad thing. Although they can seem convenient, they have a number of major drawbacks. This lesson outlines the reasons you may wish to find alternatives to using globals and then shows a number of options in revTalk that allow sharing of da...
