| .KEY Statement QuickSCREENi |
|
  QuickSCREEN       Details       Example       Contents       Index |
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |
| KEY - a device I/O statement that assigns soft-key string values to |
|       function keys and then can be used to display the soft-key values |
|       in various ways |
| Syntax                     Use |
|   KEY LIST                 Displays soft-key string values |
|   KEY {ON|OFF}             Turns on and off the soft-key display line at the |
|                            bottom of the screen |
|   KEY n,stringexpression   Assigns soft-key string values |
|
|     ž n is the number of a specific key, chosen from the values below: |
|       1-10   Function keys F1-F10            ³ 14     DOWN |
|         11   UP                              ³ 15-25  User-defined keys |
|         12   LEFT                            ³ 30-31  Function keys F11-F12 |
|         13   RIGHT                           ³        on 101-key keyboards |
|
|     ž stringexpression, for all values of n except 15 through 25, is the |
|       is the string that is input by the program when the key is pressed. |
|       For n = 15 through 25, stringexpression has the syntax |
|         CHR$(keyboardflag) + CHR$(scancode) |
|
See Also  ON KEY(n)   Keyboard Scan Code Table |
| Other Uses of the KEY Keyword |
  KEY(n) - to trap a full range of keypress events |