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

Eric Chatonet eric.chatonet at sosmartsoftware.com
Tue Jun 24 09:39:03 EDT 2008


Hi Jan,

Hope you are well.
Actually, I was thinking about new users.
The best thing is to enjoin all to use the form: if "DoPolling" is  
not in the pendingMessages then send "DoPolling" to me in x millisecs

Le 23 juin 08 à 20:35, Jan Schenkel a écrit :

> --- Eric Chatonet <eric.chatonet at sosmartsoftware.com>
> wrote:
>> 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.
>>
>
> Hi Eric et al,
>
> While I can see the advantages of Revolution
> 'collapsing' requests, I'm not sure this should be the
> default behaviour - and definitely not if there are
> parameters involved, as the sequence then becomes very
> important.
> Plus, what about timers that run every minute?
>
> Jan Schenkel.
>
> Quartam Reports & PDF Library for Revolution
> <http://www.quartam.com>
>
> =====
> "As we grow older, we grow both wiser and more foolish at the same  
> time."  (La Rochefoucauld)
>
>
>
> _______________________________________________
> 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
>



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