
CLR_RECT
Purpose
To clear a rectangular area.
Syntax
CLR_RECT(x%, y%, size_x%, size_y%)
Remarks
"x%" is the x coordinate of the upper left point of the rectangular area.
"y%" is the y coordinate of the upper left point of the rectangular area.
"size_x%" is the width of the rectangular area in pixels.
"size_y%" is the height of the rectangular area in pixels.
Example
CLR_RECT(1,1,20,20)
See Also
CLS, FILL_RECT
CLS
Purpose
To clear the contents on the LCD.
Syntax
CLS
Remarks
After executing this command, whatever is being shown on the LCD will be erased
and the cursor will be move to (1,1).
Example
ON TIMER(1,200) GOSUB ClearScreen
...
ClearScreen:
OFF TIMER(1)
CLS
RETURN
‘ TIMER(1) = 2 second
See Also
CLR_RECT, PRINT
CURSOR
Purpose
To turn on/off the cursor indication on the LCD.
Syntax
CURSOR(status%)
Remarks
"status%" is an integer variable, indicating the cursor status.
Value Meaning
0
1
The cursor indication is off.
The cursor indication is on.
Comentarios a estos manuales