QBasic 1.1: STOP Statement

Syntax

STOP

Description / Parameter(s)

The STOP keyword also suspends trapping of events in these statements:
COM, ON COMKEY, ON KEYPEN, ON PEN
PLAY, ON PLAYSTRIG, ON STRIGTIMER, ON TIMER

Example

FOR i% = 1 TO 10 PRINT i% IF i% = 5 THEN STOP 'STOP pauses; F5 Continues. NEXT i%