MSLEEP Statement
Causes the program to sleep for a specified time.
This function is provided for compatibility with other MultiValue systems.
Syntax
MSLEEP time
Syntax Elements
time An expression that evaluates to the number of milliseconds to sleep. Values greater than 1000 are rounded to the nearest thousand.
If time is zero, the program sleeps for approximately 10 milliseconds.
Examples
* PROGRAM SEGMENT TO SOUND TERMINAL BELL
* FIVE TIMES
*
EQU BELL TO CHAR(7)
FOR I = 1 TO 5
PRINT BELL:
MSLEEP 1000
NEXT I
Sounds terminal bell five times, pausing for 1 second so that the bell is heard as five discrete beeps.
MSLEEP 500
Causes program to sleep for 0.5 seconds.
See Also
RQM statement.