KEY Statement (Assignment)
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Assigns string values to function keys and, optionally, displays key values.
KEY {key%, stringexpression$ | LIST | ON | OFF}
■ key% Number specifying a function key:
Value Function Key
═══════ ══════════════════════════════════════
1 - 10 F1 - F10
30 F11
31 F12
■ stringexpression$ String of up to 15 characters that is returned
when the function key is pressed
■ LIST Displays the assignments for each function key;
not available when forms are showing
■ ON Turns on the function-key display line; not
available when forms are showing
■ OFF Turns off the function-key display line
See Also
◄KEY Statement (Event Trapping)►