
RPBASIC-52 PROGRAMMING GUIDE
2-15
CLEAR COM
Syntax: CLEAR COM(port)
Where: port = 0 or 1, the serial com mun ication port. port may be la rger. Check yo ur cards manual.
Function: Clears received characters in specified serial port bu ffer.
Mode: Run
Use: CLEAR COM(0)
Cards: All
DESCRIPTION
Received characters in the specified serial port are cleared. Characters in the transmit buffer are not affected.
RELATED
COM, COM$, GET
ERRORS
BAD SYNTAX Any parameters left out
BAD ARGUMENT When port > 1 or card limit or negative
EXAMPLE
100 CLEAR COM(1)
Komentáře k této Příručce