FutureBasic Logo

<<    Index    >> FutureBasic

line   statement



Syntax
line [ to ] [ x, y [ to x1, y1 ...] ]

Requires
macOS 10.11+

Description
The line statement draws a line, or series of connected lines, using the pen style in the current output window.

 

Example

line 20, 20 // move to a new start location without drawing
line to 100, 100 // draw a line from the previous location to the specified location

See also
cls; oval; pen; rect