
14. USER WINDOW PROGRAMS USER PROGRAM B-63423EN/02
-92-
14.3 MONITORING KEYSTROKES
1) Custom macro variables for monitoring keystrokes
The following custom macro variables can be used to monitor
keystrokes:
#8501 : Identification of keys other than numeric keys
#8502 : Numeric data input before the <INPUT> key is pushed
2) Identification codes for pushed keys
The following codes are set to #8501 to identify pushed keys:
Key Code Key Code
Page key ↓ 1 Leftmost soft-key 20
Page key ↑ 2 Rightmost soft-key 31
Cursor ↓ 3 Soft-key 1 21
Cursor ↑ 4 Soft-key 2 22
Cursor → 18 Soft-key 3 23
Cursor ← 19 Soft-key 4 24
ALTER 5 Soft-key 5 25
INSERT 6 Soft-key 6 26
DELETE 7 Soft-key 7 27
INPUT 8 Soft-key 8 28
RESET 10 Soft-key 9 29
NOTE
Soft-key 10 is always used for [RETURN] (to close
the user window), and cannot be used for any other
purposes.