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.
COM Statement
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Enables, disables, or suspends event trapping on a communications port; can
 be used with object-specific events.
 
    COM(n%) {ON | OFF | STOP}
 
    ■ n%    Number of a COM (serial) port (1 or 2)
 
    ■ ON    Enables event trapping
 
    ■ OFF   Disables event trapping; if an event takes place, it is ignored
 
    ■ STOP  Suspends event trapping; any events that occur are remembered
            and processed as soon as a COM ON statement is executed
 
 See Also
    Error/Event Trapping Summary     Object Events Summary
    ON COM Statement                 OPEN COM Statement
    PRINTER Object                   UEVENT Statement