
Commands - 17
CLEAR COM$
Process Statement
SYNTAX: CLEAR CO M$ n
PURPOSE: To reset a serial port input buffer to the power– up condition.
REMARK S: Executing this statement will clear the serial input buffer specified by n.
n = legal serial port number.
The input buffer parameters are reset. Any previous CON FIG C OM$ and ON COM$ comm ands
will be canceled.
This statement does not clear serial output buffers.
See the Multitasking Chapter for more information.
RELATED: COM$, CONFIG COM$, ON COM$
EXAMPLE: The following clears the primary serial port input buffer:
10 CLEAR COM$ 1
ERROR: < Data negative> – for n
< Data out of range> – if n is not a legal serial port number
Comentarios a estos manuales