Stack Context/Scope Question

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Dec 7 07:56:45 EST 2005


Hi Dave,

1. "Me" refers to the object in the script of which the handler runs;
Then in a stack script, me refers to the stack the script of which  
owns the running handler.

2. "This" refers generally to to a card or a stack and refers to the  
card or the stack that initiated the process.
Then if the current running handler was called from the current  
stack, "this" will  refer to it but when called from another stack (a  
substack for instance), "this" will refer to this another stack (the  
substack).

Hope this clear :-)

Le 7 déc. 05 à 13:44, David Burgun a écrit :

> I am slightly confused as to the use of "this" and "me" when used  
> for a Stack, for instance, if I have two stacks:

Best Regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list