Tandy 1000 Basic Reference Manual page 122

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 10 I BASIC Keywords
CLS
Statement
CLS
Clears the screen and returns the cursor t o the home position.
Home is Row 0, Column 0, or in other words, the upper left cor-
ner of the screen.
If a viewport is active, CLS clears only the active viewport. To
clear the entire screen, you must use VIEW to redefine the en-
tire screen before using CLS.
Changing the screen mode with SCREEN or changing the width
with WIDTH automatically clears the screen. You can also clear
the screen by typing [ C T R L ] [ T ]
or [CTRL)[HOME].
Sample Program
5 4 0
CLS
5 5 0
F O R
I
=
1 T O 24
5 6 0 P R I N T S T R I N G $ ( 7 9 , 3 3 )
5 7 0
NEXT I
5 8 0 G O T O 5 4 0
~
120

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents