How does a command find out who called it?

Richard Gaskin ambassador at fourthworld.com
Wed Feb 1 20:50:12 EST 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.

Thanks.

If others here can reproduce this apparent bug from the second test in 
this post I'll log it in the RQCC:

<http://lists.runrev.com/pipermail/use-livecode/2012-February/167508.html>


--
  Richard Gaskin
  Fourth World
  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 mailing list