mirror of
https://github.com/Haskell-Things/ImplicitCAD.git
synced 2024-11-04 01:26:48 +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);
|
|
}
|