Stopping
or
Interrupting
a
Program
Programming
a
Stop
or
Pause
(STOP, PSE)
• Pressing
FrTsI
(run/stop)
during program entry inserts a
STOP
in
struction. This will halt a running program until you resume it by
pressing
IrTsI from the
keyboard.
You
can use
STOP
rather than
RTN in order to end a program without returning the program
pointer to the top of memory.
• Pressing Bl
lbl/rtn
I {PSE} during program entry inserts a PSE
(pause)
instruction. Thiswill suspenda running program for about
1 second and display the contents of the
X-register.
Interrupting
a
Running
Program
You
can interrupt a running program at any time by
pressing
[c] or
FrTsI.
The program completes its current instruction before stopping.
Press [rTsI (run/stop) to resume the program.
If you interrupt a program and then press I
XEQ
I,
I
GTO
I,
or {RTN},
you
cannot
resume
the program with
IR/SI.
Re-execute
the program
instead
(fxEQl label).
Error
Stops
If an error occurs in the course of a running program, program execu
tion halts and an error message appears in the display. (Thereis a list
of messages and conditions in front of the indexes.)
To see the line in the program containing the error-causing instruc
tion, press Hi prgmI. The program will have stopped at that point.
(For
instance, it might be a -r instruction, which caused an illegal
division by zero.)
82
5:
Simple
Programming