wait for messages
Ken Norris (dialup)
pixelbird at interisland.net
Sun Feb 24 23:53:01 EST 2002
on 2/24/02 6:00 PM, Bob Rasmussen at brasmussen at earthlink.net wrote:
> Can anyone give me some insight about the "wait for messages" command?
I'm still a long ways from understanding all the new stuff in MC/RR
different from HC, but I'm betting if no pending messages exist, it will
freeze until RR gets a message, which would explain why the simple handler
you wrote continued only after you moved the mouse, which sent a message, of
course. If anything sends any message, open a card, move the mouse, type
something, any message except idle, the script will take off again as soon
as RR gets it. This gives some more control to the user. Everything (but
idle) stops right where it is, if they need to answer the phone, stop the
coffemaker from boiling over, whatever, but if RR was in the middle of
making computations, that would continue. It probably wouldn't suspend
computing, but it would stop the rest of the script from running until the
user hits a key or moves the mouse, like what happens with a screensaver.
Just a hunch.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Use-livecode