Globals

Robert Brenstein rjb at robelko.com
Mon Jun 11 13:54:03 EDT 2012


On 11.06.2012 at 9:54 Uhr -0700 Bob Sneidar apparently wrote:
>It occurs to me that there is room for something like a stack global 
>and card global, where any script belonging to a stack or card would 
>have access to those globals. This would address, in some basic 
>fashion, namespaces if the stack were structured accordingly. Vet 
>this if you please, and if it seems like a good idea I will submit 
>it as an enhancement request.
>
>Bob

This can be simulated by having script local variable on a stack 
level with get and set accessor functions. Not as clean as global but 
functional. Of course, using custom properties of a stack can achieve 
the same at the expense of being even more wordy.

Robert




More information about the use-livecode mailing list