bas7qck.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.
OFF Keyword - Different Uses
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
OFF Keyword - Different Uses
 
    ■ OFF is used in various statements to disable trapping of events:
 
        Disables
        a trap          Type of event
        ═════════════   ═════════════════════════════════
        COM(n%) OFF     Events on communications port n%.
        KEY(n%) OFF     A keypress event on key n%.
        PEN OFF         Lightpen events.
        PLAY OFF        Background music queue events.
        SIGNAL OFF      OS/2 signal events.
        STRIG(n%) OFF   Events on joystick trigger n%.
        TIMER OFF       Timer events.
        UEVENT OFF      User-defined events.
 
    ■ KEY OFF is used to turn off the display of soft-key assignments on
      the bottom line of the screen.