qb45advr.hlp (Topic list)
ON COM(n) Statements QuickSCREEN
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
ON COM(n) - Event trapping statement that specifies a subroutine to
            branch to when characters are received at communications port n
Syntax
  ON COM(n) GOSUB {linelabel | linenumber}
    ■ n, an integer expression, indicates one of the serial ports,
      either 1 or 2
    ■ linelabel or linenumber is the first line of the event-handling
      subroutine
 
See Also  COM(n) ON