Specifications

Chapter 16. Extended Functions
403
Run-time errors:
Example:
Drawing a dotted line starting at the coordinates (10, 30) to (100, 60)
in black
DIM RECT%(3)
RECT%(0)=10 : RECT%(1)=30 : RECT%(2)=100 : RECT%(3)=60
PTN%=&HAAAA : ATTRIB%=.cnColor : COLOR%=.cnBlack
CALL"CONSOLE.FN3".fcDtLine RECT%(),PTN%,ATTRIB%,COLOR%
Syntax: CALL "CONSOLE.FN3" .fcRectFil RECT%(),ATTRIB%,
COLOR%
Description:
This function draws a filled rectangle defined by two diagonal points
specified by RECT%() according to the attributes specified by
ATTRIB% and COLOR% on the LCD.
Error code Meaning
05h
Parameter out of the range
F0h
Mismatch parameter number
F1h
Mismatch parameter type
F2h
Insufficient number of array variable elements
.fcRectFil Draw a filled rectangle
X-coordinate
Y-coordinate
Initial
coordinates
Final
coordinates