Ken,
To quickly simulate a callback message, I made a button with the script
on mouseUp
send "bla" to me in 0 secs
end mouseUp
and a stack script
on bla
put the executioncontexts
end bla
All I get in the message box is one line, referring to the stack. I don't think
your approach works for Ken Corey.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za
On 1 feb 2012, at 20:33, Ken Ray wrote:
>
> 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ā¦
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: [email protected]
> Web Site: http://www.sonsothunder.com/
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode