Dave Cragg wrote:

On 8 May 2007, at 11:27, Sivakatirswami wrote:


 repeat while sDataRead = false
    wait for messages
  end repeat

## skts: I don't understand "wait for messages" what does that do?

The above three lines are the equivalent of this:

     wait until sDataRead is not false with messages

I heard that the "wait for messages" form was less resource intensive because the condition was checked less often. But some limited testing showed no great difference.


What confuses me is that I thought "wait" was a blocker, but
this is news to me:  you can have a "wait" handler
but  if you have previously initiated a "send in" loop, those
continue on, even if a "wait" has been set elsewhere.

Sivakatirswami
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to