Wikia

TI-BASIC Wiki

Watchlist Recent changes

Line(

(84) :Line(X1, Y1, X2, Y2)
(89) :Line X1, Y1, X2, Y2

When used in this way, this command will draw a line from the first set of X,Y coordinated to the other set.

(84) :Line(X1, Y1, X2, Y2, 0)
(89) :Line X1, Y1, X2, Y2, 0

When used in this way, it will erase in a line from the first set of X,Y coordinated to the other set.

Location Edit

  • DRAW (2nd PRGM)
  • DRAW
  • 2:Line(

Example Edit

:ClrDraw
:0Xmin
:94→Xmax
:0→Ymax
:-62→Ymin
:Line(0,0,94,-62)
:Line(94,0,0,-62)

After clearing the graph screen and setting the correct dimensions, this program will draw a cross (X) that crosses the entire screen from corner to corner.

Pages on TI-BASIC Wiki

Add a Page
472pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
61photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki