HP 12C Platinum User Manual page 145

Financial calculator
Hide thumbs Also See for 12C Platinum:
Table of Contents

Advertisement

4. Key in the original instruction or instructions, beginning with the first
instruction to be executed after the added instruction(s), and continuing
through the last instruction you keyed into program memory.
Note:
If program memory includes branches to program lines following that
at which the first new instruction is being added, remember to change the
line number(s) specified in the i instruction(s) — as described above
under Changing the Instruction in a Program Line — to the actual new line
number(s).
Example: Assuming you have made the program modifications as in the
preceding example, suppose you now wanted to insert a t instruction before
the program calculates net income after tax so that the program will display the
amount of the tax before displaying the net income after tax. The program should
be modified by making the changes below:
Keystrokes
(RPN mode)
fs
gi.008
t
-
fs
15000t
t
Keystrokes
(ALG mode)
fs
gi.011
t
Section 10: Program Editing
Display
008,
25
009,
31
010,
30
12,000.00
3,000.00
12,000.00
Display
011,
36
012,
31
Sets calculator to Program mode.
Sets calculator to last program
line to be executed, which
contains the b instruction.
Keys in new instruction.
Keys in original instruction, which
was replaced by new instruction
added.
Sets calculator back to Run mode.
Twenty percent tax on $15,000
income.
Net income after tax.
Sets calculator to Program mode.
Sets calculator to last line keyed
into program memory for original
program.
Keys new instruction into
program line 012.
145

Advertisement

Table of Contents
loading

Table of Contents