How does a command find out who called it?
ambassador at fourthworld.com
Wed Feb 1 19:50:12 CST 2012
Bob Sneidar wrote:
> From the dictionary:
> When the send command is used the stack containing the target handler temporarily becomes the defaultStack. All object references in the message are evaluated in the current context i. e. the defaultStack. Therefore references within the message that refer to "this card" or "this stack" will be referring to the card or stack where the target handler is located.
If others here can reproduce this apparent bug from the second test in
this post I'll log it in the RQCC:
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
More information about the use-livecode