wait with messages

Dar Scott dsc at swcp.com
Wed Aug 11 11:55:05 EDT 2004


On Aug 11, 2004, at 6:56 AM, K wrote:

> Without polling what is the best way to wait (while messages continue 
> processing) for a viriable state to change?  Since wait with messages 
> is presenting several anomalies I cannot explain.

One way would be to use a custom command (hander) to set the variable.  
It can 'send ... in 0'.  A possible problem is that it might queue up 
several messages before execution completes and only one is needed.

Another way is to call a routine to check what needs to be done at the 
end of routines and it can do the sends.

Dar Scott





More information about the use-livecode mailing list