Adding instructions at the end of a program – HP 12C Financial calculator User Manual

Page 114

Advertising
background image

114 Section 10: Program Editing

File name: hp 12c_user's guide_English_HDPMBF12E44

Page: 114 of 209

Printered Date: 2005/7/29

Dimension: 14.8 cm x 21 cm

Keystrokes Display

fs

6,250.00

Sets calculator back to Run mode.
(Display shown assumes results remain
from last example in preceding section.)

:2?6

25.00

Copies tax rate from R

2

into R

6

.

Adding Instructions at the End of a Program

To add one or more instructions at the end of the last program stored in program
memory:

1. Press fs to set the calculator to Program mode.
2. Press gi. followed by two digits that specify the last line you keyed

into program memory (that is, the highest numbered line, not necessarily the
line most recently keyed in).

3. Key in the new instruction or instructions.

Note:

To add one or more instructions at the end of a program that is not

the last program stored in program memory, use the procedure described
below under Adding Instructions Within a Program.

Example: With the last program from the preceding section stored in the
calculator, suppose you wanted to add a - instruction at the end in order to
calculate the net income after taxes. You could do so as follows:

Keystrokes Display

fs

00-

Sets calculator to Program mode.

gi.08

08-

25

Sets calculator to last line keyed into
program memory.

-

09-

30

Keys new instruction into program
line 09.

fs

25.00

Sets calculator back to Run mode.

15000t

12,000.00

Net income after 20% tax is
subtracted from $15,000 income.

Advertising