Skip to content
Andrew Owen edited this page May 30, 2023 · 2 revisions

CONT


CONT

Resumes execution of a program that has been halted by STOP, END or Esc.

Notes

  • 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 subroutine RETURNs to the position after the GOSUB in the old direct line, strange things may happen if commands are given after CONT. 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 after RETURN; but if the direct line is extended beyond the old return position, the parser tries to resume at that return position, with strange effects.

Errors

  • 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.

Welcome to the SE BASIC wiki


  • 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:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally