Displaying Program Lines. HP 12C Platinum Financial Calculator, 12c

Add to My manuals
278 Pages

advertisement

Displaying Program Lines. HP 12C Platinum Financial Calculator, 12c | Manualzz

Section 8: Programming Basics 109

Since keystroke sequences beginning with f, g, ?, :, and i are stored in only one program line, the display of that line would show the keycodes for all the keys in the keystroke sequence.

Instruction Keycode gÒ

?=0 gi000

43 26 nnn, 44 40 0 nnn,43,33,000

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

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.

File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 109 of 275

Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm

110 Section 8: Programming Basics

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:

Keystrokes

(RPN mode)

Display fs

Ê

Ê

000, Sets calculator to Program mode and displays current line of program memory

001, Program line 001: \

002, 2 Program line 002: digit 2.

Keystrokes

(ALG mode) fs

Display

Ê

Ê

000, Sets calculator to Program mode and displays current line of program memory

001, Program line 001: -

002, 2 Program line 002: digit 2.

Pressing gÜ does the reverse:

Keystrokes

(RPN mode)

Display gÜ gÜ

001,

000,

Program line 001.

Program line 000.

Keystrokes

(ALG mode) gÜ gÜ

Display

001,

000,

Program line 001.

Program line 000.

File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 110 of 275

Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm

Section 8: Programming Basics 111

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

(RPN mode)

Display

Ê 001, Program line 001

.

.

.

.

007, Program line 007 (Release Ê)

Keystrokes

(ALG mode)

Ê

Display

001, Program line 001

.

.

.

.

007, Program line 007 (Release Ê)

Program line 007 contains the last instruction you keyed into program memory.

However, if you press Ê again, you’ll see that this is not the last line stored in program memory:

Keystrokes Display

Ê 008,43, 33, Program line 008

As you should now be able to tell from the keycodes displayed, the instruction in program line 008 is gi000.

File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 111 of 275

Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm

advertisement

Key Features

  • Financial Pocket Black, Silver
  • 10 digits
  • Memory registers: 20

Related manuals

advertisement

Table of contents