Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
SLEEP Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
SLEEP - a control flow statement that suspends execution of the
calling program
Syntax
SLEEP [seconds]
■ If the argument is omitted, the program is suspended until a key is
pressed or an enabled event occurs
■ If the optional seconds argument is used, the program will stay
suspended until the number of seconds elapses, a key is pressed,
or an enabled event occurs, whichever happens first.
See Also ◄WAIT►