Weirdness with global variable declaration

Dar Scott dsc at swcp.com
Tue Jan 20 14:18:12 EST 2004


On Tuesday, January 20, 2004, at 12:01 PM, Ray G. Miller wrote:

> Yes, the globala are *declared* within a handler, but setting the 
> globals for all can set, usually at the top of the script editor, for 
> each "section" (card script, background script, button script).

I like the word "globala"!

If I understand you right, this is not the way I use "declare" and 
"setting".

I think of this as the "declaration":

global aaa

I think of this as the "setting":

on yyy
   put "ransom" into aaa  --   <<==
end yyy

Depending on the circumstances this might also be the "initialization".

Or did I misread your point, Ray?

Dar Scott
(Thinking of ways to use "globala" in a sentence.)



More information about the use-livecode mailing list