For
evaluates
start
, and then iterativelybody
andincr
as long as test evaluates toTrue
.
evaluates only
incr
and nobody
.
runs the loop without any body.
See:
Examples
Compute the factorial of 10 using For
:
Related terms
Implementation status
- ✅ - full supported