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.