116 Section 8: Programming Basics

Keystrokes (ALG mode)

fs

625

Ç

Ç

Ç

Ç

Ç

Ç

Ç

Display

124.25Sets calculator to Run mode and to line 000 in program memory. (Display shown assumes results remain from previous calculation.)

625.Keys in price of typewriter.

001,

30 Program line 001: -

625.00Result 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.25Result of executing program line 004.

005,

40 Program line 005: +

468.75Result of executing program line 005.

006,

5 Program line 006: 5

5.Result of executing program line 006.

007,

36 Program line 007: }

473.75Result 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.

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