Updated: 11/30/2021, 7:00:45 PM
Created: 11/30/2021, 7:00:45 PM
Last Updated By: Jake Tuttle
Read Time: 1 minute(s)
Tags: program execution
Allows the program to pause execution for a specified number of milliseconds. It takes the general form:
Where milliseconds must be an integer, specifying the number of milliseconds to sleep. In the absence of parameters, a default time of 1 millisecond will be assumed.
If the debugger is invoked while a program is sleeping and then execution continued, the user will be prompted: Continue with SLEEP (Y/N) ?
If "N" is the response, the program will continue at the next statement after the MSLEEP.
An example of use is as:
* To sleep for 10 seconds MSLEEP 10000 * 40 winks... MSLEEP 40000
Go back to jBASE BASIC
Go back to Programmers' Reference Guide