HP (Hewlett-Packard) 12C Calculator User Manual


 
122 Section 8: Programming Basics
File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 122 of 275
Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm
Keystrokes Display
:
2
402.82
Sum of TAX column.
:
3
6,370.52
Sum of TOTAL column.
If the duration of the pause is not long enough to write down the number displayed,
you can prolong it by using more than one
gu
instruction. Alternatively, you
can have the program automatically stop as described next.
Stopping Program Execution
Stopping Program Execution Automatically.
Program execution is
automatically halted when the program executes a
t
instruction. To resume
executing the program from the program line at which execution was halted, press
t
.
Example:
Replace the program above by one containing
t
instructions
instead of
gu
instructions.
Keystrokes
(RPN mode)
Display
fs
Sets calculator to Program mode.
f
CLEAR
Î
000,
Clears program memory.
§
001, 20
t
002, 31
Stops pro
g
ram execution to display
AMOUNT.
?+
1
003,44 40 1
:
0
004, 45 0
b
005, 25
t
006, 31
Stops program execution to display
TAX.
?+
2
007,44 40 2
+
008, 40
?+
3
009,44 40 3
Keystrokes
(ALG mode)
Display
fs
Sets calculator to Program mode.
f
CLEAR
Î
000,
Clears program memory.