what actually happens when sending a message out of a repeat loop?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Mon Jun 23 13:01:10 EDT 2008


Bonjour Richard et Sivakatirswami,

Le 23 juin 08 à 18:45, Richard Gaskin a écrit :

> Also, in polling timers I've found it very helpful to first check  
> to see if a message is already queued before queueing it again, e.g.:
>
>  on DoPolling
>    DoSomething
>    if "DoPolling" is not in the pendingMessages then
>      send "DoPolling" to me in 200 millisecs
>    end if
>  end DoPolling

I agree so much that I think that the engine itself could ignore sent  
messages that are already in the pending messages except when the  
delay is zero.

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list