HP 12C Platinum User Manual page 152

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

Advertisement

152 Section 11: Multiple Programs
6. Press gi followed by three digit keys that specify the first line number of
your new program. This transfers program execution to the beginning of the
new program when the program is run again.
Example 1: Assuming that program memory still contains the last program from
the preceding section (which consisted of 17 program lines in RPN mode and 23
program lines in ALG mode), store after that program the office-supplies program
from Section 8 (page 106). Since this is the second program to be stored in
program memory, we'll ensure that a i000 instruction separates it from the first
program by doing step 3 in the procedure above. Furthermore, since this program
does not end with a loop, we'll do steps 5 and 6 too.
Keystrokes
(RPN mode)
fs
gi.017
gi000
\
2
5
b
-
5
+
t
gi019
fs
Keystrokes
(ALG mode)
fs
gi.023
Display
017,43, 33, 002
018,43, 33, 000
019,
36
020,
2
021,
5
022,
25
023,
30
024,
5
025,
40
026,
31
027,43, 33, 019
12,000.00
Display
023,43, 33, 002
Sets calculator to Program mode.
Sets calculator to last line keyed
into program memory.
Ensures that second program is
separated from first by i000.
Keys in program.
Halts program execution.
Branches to beginning of program.
Sets calculator back to Run mode.
(Display shown assumes results
remain from running program in
previous example.)
Sets calculator to Program mode.
Sets calculator to last line keyed
into program memory.

Advertisement

Table of Contents
loading

Table of Contents