English
Language : 

NSB8 Datasheet, PDF (25/158 Pages) List of Unclassifed Manufacturers – BASIC interpreter for Z80 family
ITALIAN TECHNOLOGY
grifo®
CONT
COMMAND:
CONT
ACTION:
CONT causes execution of a previously running BASIC program to continue after the execution of
a STOP statement or after a <control-C> interruption. Normally, execution will continue at the
program statement immediately following the last statement executed. (See REMARKS, below, for
exceptions to this rule).
EXAMPLE PROGRAM:
10 PRINT “THIS LINE PRINTED AFTER RUN”
20 STOP
30 PRINT “THIS LINE PRINTED AFTER CONT”
REMARKS:
CONT may not be used if the previously running program has stopped because of an error or the
execution or an END statement. Also, CONT may not be used if any modification has been made
to any line of the current program since the interruption occurred.
It is possible to use direct statements during the interruption caused by STOP or <control-C>, for
example, to examine or change variable values. After doing so, you may use CONT to continue with
the program.
If the stop was caused by <control-C> interruption during the execution of an INPUT statement, then
execution will continue at the beginning of that INPUT statement.
ERROR MESSAGES:
CONTINUE ERROR
This error occurs because of one of the following four reasons:
1) The program has stopped because it executed an END statement.
2) It has stopped because of a program error.
3) The program has been changed between the time it stopped and the time you typed CONT.
4) The current program has not yet been RUN.
SEE ALSO:
Section CONTROL-C: THE PANIC BUTTON
Statement STOP
NSB8
Rel. 5.10
Page 13