Specifications

Chapter 16. Extended Functions
405
Syntax: CALL "CONSOLE.FN3" .fcRect RECT%(),ATTRIB%,
COLOR%
Description:
This function draws a rectangle defined by two diagonal points speci-
fied by
RECT%() according to the attributes specified by ATTRIB%
and
COLOR% on the LCD.
Parameter: RECT%() Coordinates to define a rectangle
ATTRIB% Drawing attributes*
COLOR% Color*
*
COLOR% is valid only when "0" is set to ATTRIB%.
Returned value: (None)
.fcRect Draw a rectangle
RECT%(0) Initial X-coordinate (0RECT%(0)199)
RECT%(1) Initial Y-coordinate (0RECT%(1)303)
RECT%(2) Final X-coordinate (0RECT%(2)199)
RECT%(3) Final Y-coordinate (0RECT%(3)303)
.cnColor 0 Draw a line in the color specified by
COLOR%
.cnInvert 1 Draw a line in reverse display in the cur-
rent color
.cnBlack 0 In black
.cnDGray 64 In dark gray
.cnLGray 128 In light gray
.cnWhite 255 In white
X-coordinate
Y-coordinate
Initial
coordinates
Final
coordinates