How does a command find out who called it?

Richard Gaskin ambassador at fourthworld.com
Wed Feb 1 22:18:21 EST 2012


J. Landman Gay wrote:

>> 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>
>
> Do you get the same results without using the message box? The way it
> has to re-interpret the message hierarchy to execute commands can throw
> things off.

Good thought - I just tried it where the command "send 'foo' to btn 1 of 
cd 2" is now in a button on card 1, and it returns the name of cd 1.  :\

What do you get?

--
  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