mirror of
https://github.com/Haskell-Things/ImplicitCAD.git
synced 2024-08-14 23:40:38 +03:00
8 lines
133 B
Plaintext
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);
|
|
}
|