cowhead at mac.com
Mon Aug 26 08:46:02 EDT 2002
On Monday, August 26, 2002, at 06:25 AM, use-revolution-
request at lists.runrev.com wrote:
> The global keyword is adopted from HyperCard 1.0, and has been a part
> of all
> xTalk implementation since. How else would the engine know whether to
> a variable as local or global without such a keyword?
Presumably it would maintain a list and then every time you used a
variable, it would have to check to see if it was in the list. But once
you added a variable to the list, you would never have to add it again,
which would be a nice feature. How many times have you made the error
of forgetting to declare a global variable in subsequent handlers?
Maybe I'm a bit brain-dead, but I must have made that error some 30
More information about the Use-livecode