Loops
for
Counted loop: init, condition, step.
Syntax
for(<init>, <condition>, <step>);
...
end;
How she behaves
- The header is one statement with three comma-separated parts.
- Init often defines the counter: define num i is 0.
Example
for(define num i is 0, i lessthan 5, redefine i is i + 1);
showln i;
end;