Philippe, On Apr 24, 2006, at 4:56 PM, Philippe Lafoucrière wrote:
First of all, "hi list, I'm a complete noob in wo".
Welcome!
Is there a way to create a continous loop in wo ?
Scores :)
I have to check a distant webservice every 30 seconds and fetch new data if available.
In this very case, though, I do not really think a loop is what you want: a WOTimer would probably be better.
Nevertheless, if you want to, you can easily spawn another thread, use an infinite loop there, and sleep the thread for half a minute in the loop. Generally I would rather recommend the timer approach, but the latter can be more convenient in some cases (like, if a complex initialization would be needed each time).
--- Ondra Čada OCSoftware: [EMAIL PROTECTED] http://www.ocs.cz private [EMAIL PROTECTED] http://www.ocs.cz/oc _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
