This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:poly [2016/08/07 15:55] admin |
en:poly [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Poly (Statement) ===== | ===== Poly (Statement) ===== | ||
==== Format ==== | ==== Format ==== | ||
- | **poly** | + | **poly** |
- | **poly** ( // | + | **poly** ( [[arrays|variable[]]] |
**poly** [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]]\\ | **poly** [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]]\\ | ||
**poly** [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] | **poly** [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] | ||
Line 16: | Line 16: | ||
clg blue | clg blue | ||
color green | color green | ||
- | dim tri(1) | + | dim tri = {100, 100, 200, 200, 100, 200} |
- | tri = {100, 100, 200, 200, 100, 200} | + | poly tri[] |
- | poly tri | + | |
</ | </ | ||
< | < | ||
Line 35: | Line 34: | ||
|0.9.4|number of points in the array argument was removed from the poly statement| | |0.9.4|number of points in the array argument was removed from the poly statement| | ||
|1.99.99.55|two dimensional list support was added| | |1.99.99.55|two dimensional list support was added| | ||
+ | |1.99.99.72|added required [] to passing variable array| |