The wait2 Statement

The wait2 statement suspends the current thread for the number of milliseconds specified by its second argument. If the second argument is NA then the wait time is zero milliseconds, which simply rotates the queue. The current timer value is returned in the first argument if it is not NA. The syntax of the wait2 statement is shown below.

 set ms, 1000
 wait2 NA, ms // wait for 1 second

Generated by  doxygen 1.6.2