Remote Processing CAMBASIC User Manual

Page 54

Advertising
background image

Comm ands - 21

CLS

Statement

SYNTAX:

CLS [ #n]

PURPOSE:

To clear the screen of a terminal connected to a serial port using PC Smar tLINK.

REMARK S:

This statem ent sends a str ing of contr ol chara cters (< ESC > ;) out the se rial por t.

n = legal serial port number.

When # n is not present, the COM 1 port is cleared.

EXAMPLE:

200 CLS

ERROR:

< Data negative> – for n
< Data out of range> – if n is not a legal port number

Advertising