Clear - CipherLab 8 Series User Manual

Hide thumbs Also See for 8 Series:
Table of Contents

Advertisement

4.16.4 CLEAR

CLR_RECT
Purpose
To clear a rectangular area on the LCD.
Syntax
CLR_RECT(x%, y%, size_x%, size_y%)
Remarks
"x%", "y%" are integer variables, indicating the x, y coordinates of the upper
left point of the rectangular area.
"size_x%" is an integer variable, indicating the width of the rectangle in pixels.
"size_y%" is an integer variable, indicating the height of the rectangle in pixels.
Example
CLR_RECT(1, 1, 20, 20)
See Also
CLS, FILL_RECT
CLS
Purpose
To clear everything on the LCD.
Syntax
CLS
Remarks
After running this command, whatever is being shown on the LCD will be
erased and the cursor will be move to (1,1).
Example
ClearScreen:
See Also
CLR_RECT, PRINT
ON TIMER(1, 200) GOSUB ClearScreen
...
OFF TIMER(1)
CLS
RETURN
Chapter 4
BASIC Commands
' TIMER(1) = 2 second
129

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

83008000840087008200

Table of Contents