HP (Hewlett-Packard) 12C Calculator User Manual


 
124 Section 8: Programming Basics
File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 124 of 275
Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm
Keystrokes Display
t
137.70
TAX for third item.
t
2,177.70
TOTAL for third item.
5
\
345
345.
Fourth item.
t
1,725.00
AMOUNT for fourth item.
t
116.44
TAX for fourth item.
t
1,841.44
TOTAL for fourth item.
:
1
5,967.70
Sum of AMOUNT column.
:
2
402.82
Sum of TAX column.
:
3
6,370.52
Sum of TOTAL column.
Program execution is also automatically halted when the calculator overflows (refer
to page 90) or attempts an improper operation that results in an
Error
display.
Either of these conditions signifies that the program itself probably contains an
error.
To determine at which program line execution has halted (in order to locate the
error), press any key to clear the
Error
display, then press
fs
to set the
calculator to Program mode and display that program line.
You may also want to display the current program line (by pressing
fs
) if
your program has halted at one of several
t
instructions in your program and
you want to determine which one that is. To continue executing the program
afterward:
1. Press fs to set the calculator back to Run mode.
2. If you want to resume execution from the program line at which execution
halted rather than from line 000, press gi followed by three digit keys
that specify the program line desired.
3. Press t to resume execution.
Stopping Program Execution Manually.
Pressing any key while a program
is running halts program execution. You may want to do this if the calculated
results displayed by a running program appear to be incorrect (indicating that the
program itself is incorrect).
To halt program execution during a pause in a running program (that is, when
gu
is executed), press any key.
After stopping program execution manually, you can determine at which program
line execution has halted and/or resume program execution as described above.