HP (Hewlett-Packard) 12C Calculator User Manual


 
116 Section 8: Programming Basics
File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 116 of 275
Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm
Keystrokes
(ALG mode)
Display
fs
124.25
Sets calculator to Run mode
and to line 000 in program
memory. (Display shown
assumes results remain from
previous calculation.)
625
625.
Keys in price of typewriter.
Ç
001, 30
Program line 001:
-
625.00
Result of executing program
line 001.
Ç
002, 2
Program line 002: 2.
2.
Result of executing program
line 002.
Ç
003, 5
Program line 003: 5.
25.
Result of executing program
line 003.
Ç
004, 25
Program line 004:
b
156.25
Result of executing program
line 004.
Ç
005, 40
Program line 005:
+
468.75
Result of executing program
line 005.
Ç
006, 5
Program line 006: 5
5.
Result of executing program
line 006.
Ç
007, 36
Program line 007:
}
473.75
Result of executing program
line 007 (the last line of the
program).
Pressing
while the calculator is in Run mode sets the calculator to the
previous line in program memory, then displays that line’s number and the
keycode of the instruction stored there, just as in Program mode. In Run mode,
however, when the
Ü
key is released the display again shows the same number
as it did before
was pressed: no instruction in program memory is
executed.