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►