wait with messages...

Ken Ray kray at sonsothunder.com
Sun Feb 1 02:41:56 EST 2004


> Thanks for the explanation.
> How would you use:
> 
> wait for messages
> and
> wait with messages
> 
> ??
> 
> Would it be something like:
> 
> wait for 4 seconds with messages

Right, allowing processing to continue while it waits.

> wait for messages
>
> (pauses handler until *any* message is received? and why 
> would I ever use
> this?)

I don't know... this one seems a little goofy, but I'm sure there was a
reason to have it developed. :-)

Another one I like is this one:

  global gStatus

  wait until gStatus is "go" with messages

This allows you to stop at a line and wait until a global has been set
to a particular value while other things are going on.


GIH (glad it helps)

Ken




More information about the use-livecode mailing list