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►