Simple Scoping Question

David Burgun dburgun at dsl.pipex.com
Wed Apr 20 10:46:34 EDT 2005


Hi,

If I have a Stack (Call iits GlobalStack that has a lot of common 
funtions in the Stack Script, and those functions refer to "this 
Stack", which stack does that actually refer to?

e.g. if Stack A

does a start using start using stack "GlobalStack"

and thean Stack A calls a Function in "GlobalStack" that refers to 
"this stack" does that refer to "Stack A" or "GlobalStack" ?

Does this work the same way if the Stacks in question are both main 
stacks and does it work the same way in a Standalone Application?

Thanks in advance
Dave


More information about the use-livecode mailing list