
Commands - 123
STOP
Statement
SYNTAX: STOP
PURPOSE: To terminate pr ogram execution and return to comm and level.
REMARK S: STOP statements m ay be used anywher e in a program to terminate executio n. W hen a STOP is
encountered, the following message is displayed:
< STOP> < Ln nnn>
where nnn is the line number where the STOP occur red.
CAM BASIC always returns to command level after a STOP is executed. Execution is resumed by
issuing a CONT com mand (see “C ONT Comm and”).
SOUND and multitasking are turned off when STOP is executed. A CONT may cause unexpected
program operation.
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
Commenti su questo manuale