HLINE

HLINE (x1,y1)-(x2,y2),c,a
Draws a line on the high-resolution graphics screen
(x1,y1) Starting point of the line. If omitted, the line starts at the last ending point or the center of the screen
(x2,y2) Ending point of HLINE
c Defines color (Required). PSET selects current foreground color. PRESET selects current background color.
a Box action (Optional). If omitted, BASIC draws a line. If B is used, BASIC draws a box, using the starting and ending points as opposite corners of the box. If BF is used, BASIC draws a solid box.

HLINE (22,33)-(100,90),3,BF

POSSIBLE IMPROVEMENTS

Merge with LINE command to draw on all screen modes.

RTS

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies