◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
Suspends program execution.
SLEEP [seconds&]
■ seconds& Number of seconds to suspend the program.
■ If seconds& is 0 or is omitted, the program is suspended until a key
is pressed or a trapped event occurs.
Example:
PRINT "Taking a 10-second nap..."
SLEEP 10
PRINT "Wake up!"
See Also ◄WAIT►
──────────────────────────────────────────────────────────────────────────────
© Copyright Microsoft Corporation, 1987-1992. All rights reserved.
Converted from qbasic.hlp with DosHelp/HelpConvert