Specifications

Commands - 110
STOP
Statement
SYNTAX: STOP
PURPOSE: To terminate program execution and return to command level.
REMARKS: STOP statements may be used anywhere in a program to terminate execution. When a STOP is
encountered, the following message is displayed:
<STOP> <Ln nnn>
where nnn is the line number where the STOP occurred.
CAMBASIC always returns to command level after a STOP is executed. Execution is resumed by
issuing a CONT command (see “CONT Command”).
RELATED: CONT
EXAMPLE: 10 INPUT A,B,C
20 K = 5 : L = 3/2
30 STOP
40 M = CSK + 100 : PRINT M
RUN
? 1,2,3
<STOP> <Ln 30>
ERROR: none