Template:Computer Programming/Control/7


Loops allow you to have a set of statements repeated over and over again.

Endless LoopEdit

The endless loop is a loop which never ends and the statements inside are repeated forever. Never is meant as a relative term here — if the computer is switched off then even endless loops will end very abruptly.