CLS

Function

CLS clears the display screen.

Syntax

CLS

Example

100 CLS

This clears the screen ready for text or graphics output.

Remarks

In either graphics or text mode, CLS will clear the LCD display. It has a similar effect to OPCHR 1. In graphics mode, the screen may also be cleared (and the character set initialised to CHAR 0) with SCREEN 1.

Only the screen mode currently in use (text or graphics) is cleared when CLS is used.