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.
COM Statements
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
COM(n%) ON
COM(n%) OFF
COM(n%) STOP
 
    ■ n%             The number of the COM (serial) port:  1 = COM port 1;
                                                           2 = COM port 2.
    ■ COM(n%) ON     Enables trapping of a communications event by an
                     ON COM statement.
    ■ COM(n%) OFF    Disables the event trap. Even if an event takes
                     place, it is not remembered.
    ■ COM(n%) STOP   Suspends the event trap. Any events that occur are
                     remembered and are trapped as soon as a COM ON
                     statement is executed.
 
See Also    ON COM   OPEN COM