send vs dispatch and continuously running processes

Kee Nethery kee at kagi.com
Thu Sep 30 10:38:59 EDT 2010


This seems like a good pattern for an app driven by a human. The apps I tend to write launch and then run forever. They constantly look into a database to see if there is something they should be doing. 
Kee


On Sep 30, 2010, at 7:11 AM, DunbarX at aol.com wrote:

> I don't really know what you intend, but you probably do not want to lock 
> yourself into a repeat loop. As others have suggested, "send in time with 
> messages" is very effective, and then call that again:
> 
> on myMessage
> 
>   doYourStuff
> 
>   send myMessage to me in 1 miilisecond with messages
> 
> end myMessage
> 
> Or someSuch.
> 
> Craig Newman
> _______________________________________________
> 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




-------------------------------------------------
I check email roughly 2 to 3 times per day. 
Kagi main office: +1 (510) 550-1336






More information about the use-livecode mailing list