ImplicitCAD/Examples/example8.escad
2015-11-05 14:13:43 +00:00

8 lines
133 B
Plaintext

// Example8.escad -- variable assignment in loops.
a = 5;
for (c = [1, 2, 3]) {
echo(c);
a = a*c;
echo(a);
}