90 Section 8: Programming Basics
Displaying Program Lines
Pressing fs to set the calculator from Run mode to Program mode displays
the line number and keycode for the program line to which the calculator is
currently set.
Occasionally you’ll want to check several or all of the instructions stored in
program memory. The HP 12C Platinum enables you to review program
instructions either forward or backward through program memory:
z Pressing Ê (single step) while the calculator is in Program mode
advances the calculator to the next line in program memory, then displays
that line number and the keycode of the instruction stored there.
z Pressing gÜ (back step) while the calculator is in Program mode sets
the calculator back to the previous line in program memory, then displays
that line number and the keycode of the instruction stored there.
For example, to display the first two lines of the program now stored in program
memory, set the calculator to Program mode and press Ê twice:
Pressing gÜ does the reverse:
If either the Ê key or the Ü key is held down, the calculator displays all of
the lines in program memory. Press Ê again now, but this time hold it down
until program line 007 is displayed.
Keystrokes Display
fs
000,
Sets calculator to Program
mode and displays current line
of program memory
Ê
001, 36
Program line 001: \
Ê
002, 2
Program line 002: digit 2.
Keystrokes Display
gÜ
001, 36
Program line 001.
gÜ
000,
Program line 000.
Keystrokes Display
Ê
001, 36
Program line 001
.
.
.
.
.
.
(Release Ê)
007, 40
Program line 007