.UTIL SLEEP
This subroutine pauses for the specified number of seconds.
Usage:
PASS <seconds> FIELD SHARE? N
GOSUB --- .UTIL SLEEP
* Check for errors
IF --- .UTIL SLEEP NE
Description:
This subroutine pauses for the specified number of seconds. The number of seconds must be PASSed or the subroutine will CANCEL.
<seconds> is the number of seconds to 'sleep' (Required). This must be an integer greater than zero. Passing zero or a negative number will immediately exit.
Control will not return to the calling program until the specified number of seconds has elapsed. This subroutine can be interrupted via Control-C in character mode.
No information is displayed to the user during this time. If you want a 'countdown timer' to inform the user how much longer they have to wait, use
.UTIL SLEEP WITH TIMER.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2012-01-27