Table of Contents

Advertisement

CLS
Purpose
The CLS clears entire CRT screen.
Form
Description
(1) When the CLS statement is specified, the visual
images are all erased.
The image attributes
are then
reset.
The cursor appears at the position of Line 1
and Row 1 (the upper-left side of the screen).
Example
>10 REM CLS STATEMENT TEST
>20 X$ = "PG. 2": Y$ = "PG. 1"
>30 PRINT Y$
>40 INPUT "CONTINUE? (Y OR N)";Z$
>50 IF Z$ = "N" THEN 50
>60 CLS
>70 PRINT X$
>RUN
3-39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents