How does a command find out who called it?
kray at sonsothunder.com
Wed Feb 1 13:33:36 CST 2012
On Feb 1, 2012, at 1:20 PM, Mark Schonewille wrote:
> Hi Ken,
> Are you sure that callback messages and messages invoked by send commands have an execution context that's longer than 1 line?
Well, it depends on where the executionContexts are requested; suppose you have button 1 send a message to button 2, but that is not trapped by button 2 but falls through to the card script. If the card script asks for the executionContexts, you'll get two lines - the first line being the long id of button 1, and the second being the long id of the card that had the handler that asked for the executionContexts.
I guess it all depends on how the callbacks are being handled from "httpGet" and "mySocketOpen" in this case…
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode