qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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)