SLEEP.msKeyword in RapidQWindows/Unix

If you have RapidQ2.INC you can also use the Sleep.ms to pause the program in milliseconds:
Sleep.ms(ms AS DWORD)

Sleep.ms 500       'pause program execution for half a second (500 milliseconds).

Remarks:
Specifies the time, in milliseconds, for which to suspend execution. A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. There is a WINDOWS constant
$define INFINITE    &HFFFFFFFF 
That will cause Sleep.ms to loop indefinitely....




Prev Chapter Contents Next Chapter