-
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
CONTkeyword is ignored. - This statement can only be used in direct mode.
- If a break is encountered in
GOSUBroutine called from a continuing direct line (for example,GOSUB 100:PRINT A$),CONTwill overwrite the running direct line. As the subroutineRETURNs to the position after theGOSUBin 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.
-
CONTis used in a program: Can't continue.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: