defining and using globals in an application
Francis Nugent Dixon
effendi at wanadoo.fr
Thu Jul 7 10:54:27 EDT 2011
Hi from Beautiful Brittany,
I think Scott has the right attitude. Use globals
if you need them, Use custom properties if you don't
like the power/scope/limitations of globals.
In addition, I use Do "global xyz" and delete "global xyz"
to have rigorous dynamic control over global variables.
During stack development, I often use :
put the globalNames into LVGlobals
do "global " & LVGlobals
to get the values of all current globals (including
system globals)
Very useful !
-Francis
"Nothing should ever be done for the first time !"
More information about the use-livecode
mailing list