{{htmlmetatags>metatag-robots=()
metatag-title=(LINE | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for LINE)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(LINE | ugBASIC User Manual)
metatag-og:description=(Manual page for LINE)
}}
====== ugBASIC User Manual ======
===== LINE ✓ =====
===== SYNTAX =====
LINE [x1], [y1] TO x2, y2[, c]
LINE TO x2, y2[, c]
LINE (x1,y1) - (x2,y2)[,mode]
==== PURPOSE ====
==== EXAMPLE ====
LINE 10,10 TO 100,100,WHITE
LINE TO 100,100
See also the following example files:
* ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/graphics_color_01.bas|graphics_color_01.bas]]''
* ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/graphics_lines_01.bas|graphics_lines_01.bas]]''
* ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/graphics_shapes_01.bas|graphics_shapes_01.bas]]''
* ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/graphics_shapes_02.bas|graphics_shapes_02.bas]]''
* ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/graphics_shapes_03.bas|graphics_shapes_03.bas]]''
==== ABBREVIATION ====
Ln
==== AVAILABLE ON ====
==== ALIAS FOR ====
[[DRAW (instruction)]]
==== ANY PROBLEM? ====
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON LINE|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]