Problem with wait with messages

Mark Smith mark at maseurope.net
Mon Jul 9 17:10:08 EDT 2007


Assuming the handler is called "doProcess" :

on doProcess
   if taskNotDone then send "doProcess" to me in 1 second
end doProcess

Best,

Mark

On 9 Jul 2007, at 21:41, Dave wrote:

> Hi All,
>
> I have a handler that gets called on a regular basis via the "send  
> xxx in N seconds"  command.
>
> The handler then does some processing, but but wait for a task to  
> complete, to do the wait I use:
>
> if TaskNotDone = true then
>    wait 1 second with messages
> end if
>
> I thought that this would allow other objects in the stack to  
> function, but this is not the case.
>
> How can I make it so that I can wait for the task to complete but  
> allow the rest of the GUI to work?
>
> Thanks a lot
> All the Best
> Dave
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list