Keycoes - HP -67 Owner's Handbook Manual

Hide thumbs Also See for HP-67:
Table of Contents

Advertisement

Simple Programming
129
Keycodes
Each key on the calculatoris identified by a two-digit keycode. When
the W/PRGM-RUN switch is set to W/PRGM, the keycodes for the
keystrokes loaded into the current step of program memory appear on
the right side of the display. For example, the first keycode, 31,
identifies the 3" row of the keyboard, 15t key in that row. By counting
down three rows and looking at the first key on the calculator
keyboard, you can see that it is the €8 key.
LS
LT
39 row-
[ENTER®
The second keycode, 25, then refersto the 2% row, 5" key in that row;
and since the previous keycode was for the {8 prefix key, the function
selected by the keycode for the 2" row, 5™ key in that row is
. The
last keycode is 11; thatis, the 1% row, 1%t key in that row, the f§ key.
So the complete operation loaded into step 001 is £
3.
Using this handy matrix system, you can easily identify any key by its
keycode in the display. Remember, always count from the top down
and from left to right. Each key, no matter how large, counts as one.
For convenience, digit keys are identified by keycodes 00 through 09,
although prefixed functions associated with digit keys are identified
by the matrix address. A step of program memory cannot contain more
than a decimal pointor a single digit of a number. For example, if you
press
again, you can see that the number 5 is loaded into step 002
of program memory.

Advertisement

Table of Contents
loading

Table of Contents