Specifications
406
Run-time errors:
Example:
Drawing a rectangle defined by two diagonal points (3, 3) and (94, 40)
DIM RECT%(3)
RECT%(0)=3 : RECT%(1)=3 : RECT%(2)=94 : RECT%(3)=40
ATTRIB%=.cnColor : COLOR%=.cnBlack
CALL"CONSOLE.FN3".fcRect RECT%(),ATTRIB%,COLOR%
Syntax: CALL "CONSOLE.FN3" .fcDotGet POINT%(),COLOR%
Description:
This function returns the drawn state of a dot specified by POINT% in
COLOR%.
Parameter: POINT% Coordinates to locate a dot
COLOR% Color on the specified dot
Run-time errors:
Example:
Getting the drawn state of a dot at the coordinates (10, 50)
DIM POINT%(1)
POINT%(0)=10 : POINT%(1)=50
CALL"CONSOLE.FN3".fcDotGet POINT%(),COLOR%
Error code Meaning
05h
Parameter out of the range
F0h
Mismatch parameter number
F1h
Mismatch parameter type
F2h
Insufficient number of array variable elements
.fcDotGet Get drawn dot state
POINT%(0) X-coordinate (0≤POINT%(0)≤199)
POINT%(1) Y-coordinate (0≤POINT%(1)≤303)
.cnBlack 0 In black
.cnDGray 64 In dark gray
.cnLGray 128 In light gray
.cnWhite 255 In white
Error code Meaning
05h
Parameter out of the range
F0h
Mismatch parameter number
F1h
Mismatch parameter type
F2h
Insufficient number of array variable elements