CLS - source-solutions/HELP GitHub Wiki
CLS [x]
Clears the screen or part of it. If x
is not specified, in SCREEN 0 the text
view region is cleared; in other screens, the graphics view region is cleared.
The comma is optional and has no effect.
x
is a numeric valued expression that determines what is cleared:
- If
x = 0
, the whole screen is cleared. - If
x = 1
, the graphics view region is cleared. - If
x = 2
, the text view region is cleared.
-
x
is has a string value: Type mismatch. -
x
is not in[-32768 to 32767]
: Overflow . -
x
is not in[0, 1, 2]
: Illegal function call. - If an error occurs, the screen is not cleared.