◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
Halts a program.
STOP
■ The STOP keyword also suspends trapping of events in these statements:
◄COM, ON COM► ◄KEY, ON KEY► ◄PEN, ON PEN►
◄PLAY, ON PLAY► ◄STRIG, ON STRIG► ◄TIMER, ON TIMER►
Example:
FOR i% = 1 TO 10
PRINT i%
IF i% = 5 THEN STOP 'STOP pauses; F5 Continues.
NEXT i%
See Also ◄END► ◄SYSTEM►
──────────────────────────────────────────────────────────────────────────────
© Copyright Microsoft Corporation, 1987-1992. All rights reserved.
Converted from qbasic.hlp with DosHelp/HelpConvert