User Tools

Site Tools


en:poly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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** //array//\\ +**poly** [[arrays|variable[]]]\\ 
-**poly** ( //array// )\\+**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+
 </code> </code>
 <code> <code>
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|
en/poly.1470606921.txt.gz · Last modified: 2020/02/28 10:46 (external edit)