-
Notifications
You must be signed in to change notification settings - Fork 0
KEY
Andrew Owen edited this page May 30, 2023
·
2 revisions
KEY key_id, string_value
Defines the string macro for function key key_id. Only the first 15 characters
of string_value are stored.
-
key_idis a numeric expression in the range[1 to 15]. -
string valueis a string expression.
- If
key_idis not in the prescribed range, an error is raised. - If
string_valueis the empty string or the first character ofstring_valueisCHR$(0), the function key macro is switched off and subsequent catching of the associated function key withINKEY$is enabled.
-
key_idis not in[-32768 to 32767]: Overflow. -
key_idis not in[1 to 255]: Illegal function call. -
key_idhas a string value: Type mismatch.
KEY LIST
Prints a list of the 15 function keys with the function-key macros defined for those keys to the console.
Most characters are represented by their symbol equivalent in the current codepage. However, some characters get a different representation, which is a symbolic representation of the effect as control characters on the screen.
KEY {ON|OFF}
Toggles function-key macros ON or OFF.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: