Problem with wait with messages

Jim Ault JimAultWins at
Mon Jul 9 21:42:00 EDT 2007

On 7/9/07 5:57 PM, "David Bovill" <david at> wrote:

> Ken - what you suggest works...
> but does wait with messages or wait for messages actually work? I have never
> got it working - nor have I seen any example scripts with it working - and
> the docs etc all point to doing it "another way" :)

Yes, it works.  I use it in several of my apps the run a looping process
throughout the day while receiving packets from other sources, including
some of my other apps.

The incoming packets have no timing loop (thus are asynchonous) and yet are
mostly all vital, therefore cannot be missed (sometimes an app can receive
3-10 packets in less than a second).  They need to be processed as quickly
as they are received, so the 'with messages' is essential.

Further, I also allow a user to interact with the app to change settings,
interfaces, etc.. so again, "with messages" is essential.

Jim Ault
Las Vegas

More information about the Use-livecode mailing list