draw line -- draw a line
DRAW LINE x1,y1 TO x2,y2, Target$
This command draws a line from (x1,y1) to (x2,y2) on Target$ in the current highcolor. Target$ has to be either a valid view, bitmap or canvas.
window open 100,100 to 400,400, "Example", "Example"
for i = 0 to 300 step 10
draw line 0,i to i,300, "Example"
draw line 300,i to i,0, "Example"
window close "Example"
Draws some nice lines.
draw circle, draw curve, draw dot, draw ellipse, draw flush, draw rect, draw set