-
Notifications
You must be signed in to change notification settings - Fork 0
CONT
Andrew Owen edited this page May 30, 2023
·
2 revisions
CONT
Resumes execution of a program that has been halted by STOP
, END
or Esc.
- Anything after the
CONT
keyword is ignored. - This statement can only be used in direct mode.
- If a break is encountered in
GOSUB
routine called from a continuing direct line (for example,GOSUB 100:PRINT A$
),CONT
will overwrite the running direct line. As the subroutineRETURN
s to the position after theGOSUB
in the old direct line, strange things may happen if commands are given afterCONT
. In Microsoft BASIC, this can lead to strange errors in non-existing program lines as the parser executes bytes that are not part of a program line. In SE Basic IV, if the new direct line is shorter, execution stops afterRETURN
; but if the direct line is extended beyond the old return position, the parser tries to resume at that return position, with strange effects.
- No program is loaded, a program has not been run, after a program line has
been modified or after
CLEAR
: Can't continue. - The break occurred in a direct line: Can't continue.
-
CONT
is used in a program: Can't continue.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: