SmallBASIC GuideThe language | Programming Tips | Commands | System | Graphics & Sound | Miscellaneous | File system | Mathematics | 2D Algebra | Strings | Console | Glossary |
The points

Any point can be specified by an array of 2 elements or by 2 parameters Example:
LINE x1, y1, x2, y2
or
LINE [x1, y1], [x2, y2]
Also, the polylines can work with the same way.
DIM poly(10)
...
poly[0] = [x, y]


[Prev] [Next]