[Gambas-user] Event loop
Rob
sourceforge-raindog2 at ...94...
Mon Dec 1 14:21:29 CET 2003
On Saturday 29 November 2003 15:43, Ken Schrock wrote:
> There was a DoEvents or some such in VB
> Sleep works in C in Linux
> How here?
You want the WAIT keyword. It's equivalent to the C sleep()
function in stdlib, though sleep() takes a required integer
parameter and with WAIT it's a float so you can "WAIT 0.5" to
sleep half a second. (or just "WAIT" to wait only as long as
the system needs to do the event loop....)
I think I'll add some notes to the WAIT page in the wiki so
people can more easily find it.
Rob
More information about the User
mailing list