BASIC FUNCTIONS
SECTION 5,13
LINE
5. 13. 5 Function LINE draws lines and boxes on the graphics screen.
Syntax
Line [(X1,Y1)] - (X2,Y2)(,P[,B(F]ll O<X<239
O<Y<63
Examples 10 LINE (10, 10) - (50,60)
Draws a line from the co-ordinates (10, 10) to (50,60)
Remarks The paran:eter P is optional and if included denotes the
colour of the line.
If p is odd then the line.- are drawn
in black and if it is even then it is drawn in white (i.e.
erased). P defaults to odd if omitted.
VER.V09F
The parameter B is used for drawing boxes with (X1 ,Y1) and
(X2,Y2) specifying the co-ordinates of the two diagona]
comers.
The F parameter is used to fi 11 in the box wi. th the
specified colour P. The P parameter rnust be specified if
either the B or
BF is used. The following cor,imand wi 11
fill the graphics screen with a black filled in box:
LINE(0,0)-(239,63),1,BF
PAGE 5 - 68