qb45advr.hlp (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(n) Statement QuickSCREEN
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
KEY(n) - an event-trapping statement that start or stops trapping of
         specified keys
Syntax
  KEY(n) ON
  KEY(n) OFF
  KEY(n) STOP
    ■ KEY(n) ON statement enables soft-key or cursor-direction-key event
      trapping by an ON KEY statement.
    ■ KEY(n) OFF disables the event trap; even if an event takes place,
      it is not remembered.
    ■ KEY(n) STOP inhibits the event trap; that is, if you press the
      specified key your action is remembered and an ON KEY event trap
      is executed as soon as a KEY(n) ON statement is executed.
 
See Also  KEY - for information on assigning soft-key values
          to function keys.
          ON KEY(n)