The SLEEP command suspends execution of further commands until a given number of seconds have elapsed or until a specified time of day.
If time is a positive integer value, the process is suspended for that number of seconds.
If time is a time of day such as 8:27PM or 22:00:30, the process is suspended until that time. Unlike the QMBasic SLEEP statement, the SLEEP command allows for sleeping past midnight. A SLEEP to 12:00 executed at 13:00 would sleep for 23 hours.
If time is omitted, the process is suspended for one second.
The SLEEP command reports an error if the value of time is not a positive integer and cannot be converted to a time of day.