146 Section 10: Program Editing
File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 146 of 275
Printed Date: 2005/8/1
Dimension: 14.8 cm x 21 cm
Keystrokes
(RPN mode)
Display
:
3
012,
45
3
~
013,
34
go
014,
43
34
gi
000
015,43, 33,
000
Added instructions.
:
0
016,
45
0
Keys in instruction immediately
following point at which new
instructions are being added. (This
instruction was replaced in line
001 by
gi
012 instruction.)
gi
002
017,43, 33,
002
Branches back to second line (line
002) following point at which new
instructions are being added.
fs
12,000.00
Sets calculator back to Run mode.
7500
?
3
7,500.00
Stores test value in register R
3
.
6500
t
6,500.00
Runs program for income less than
$7,500. Display shows original
income keyed in, indicating that tax
is zero.
15000
t
3,000.00
Tax on $15,000 income.
t
12,000.00
Net income after tax. This shows
program still works for an income
greater than $7,500 and less than
$20,000.
Keystrokes
(ALG mode)
Display
fs
Sets calculator to Program mode.
gi.
000
000,
Sets calculator to program line
immediately preceding point at
which new instructions are being
added. (In this particular example,
this step could have been skipped
since calculator was already set at
the proper program line.)