Template:Computer Programming/Control/7

From Wikibooks, open books for an open world
Jump to: navigation, search


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

Endless Loop[edit]

The endless loop is a loop which never ends and the statements inside are repeated forever. The term, endless loop, is a relative term; if the running program is forcibly terminated by some means beyond the control of the program, then an endless loop will indeed end.