Loop
Loops are one way to execute a statement for a variable number of times. The same effect can be achieved with recursion , especially in languages where all data is immutable , making it impossible to update a counter variable.
See also
- Control flow on Wikipedia
- Loops and iteration guide