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.
ON COM Statement
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Branches to the specified routine when characters are received at a
 communications port; can be used with object-specific events.
 
    ON COM(n%) GOSUB {linenumber | linelabel}
 
    ■ n%              Number of a COM (serial) port (1 or 2)
 
    ■ linenumber      First line of an event-handling routine to execute
      linelabel       when characters are received at a communications
                      port
 
 See Also
    ◄COM Statement►                    ◄Error/Event Trapping Summary►
    ◄Object Events Summary►            ◄PRINTER Object►