Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
MSLEEP Statement (DataBasic MultiValue Compatibility) (m6187ai+msleep_s.htm)
Causes the program to sleep for a specified time.
This function is provided for compatibility with other MultiValue systems.
MSLEEP time
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.
* 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.
RQM statement.