User`s guide

80
CipherLab BASIC Compiler
User's Guide
Commands for triggering the ESC event and the KEY event: OFF ESC, OFF KEY, ON ESC
GOSUB..., ON KEY GOSUB...
ALPHA_LOCK
Purpose
To set the input mode and key lock status.
Syntax
ALPHA_LOCK(status%)
Remarks
"status%" is an integer variable, indicating the alpha-input status.
Possible settings for the 7xx series:
Value Meaning
0
1
2
Unlocked, numeric mode by default.
Locked in alpha mode.
Locked in numeric mode.
Possible settings for the 8xxx series:
Value Meaning
0
1
2
3
4
5
6
7
Unlocked, numeric mode by default.
Unlocked, upper case alpha-input by default.
Locked in numeric mode.
Unlocked, lower case alpha-input by default.
Unlocked, function mode by default. (8000 only)
Locked in upper case alpha mode.
Locked in lower case alpha mode.
Locked in function mode. (8000 only)
Example
ALPHA_LOCK(1)
...
See Also
GET_ALPHA_LOCK
CLR_KBD
Purpose
To clear the keyboard buffer.
Syntax
CLR_KBD