Jump to content

Template:Computer Programming/Control/7

From Wikibooks, open books for an open world

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

Endless loop

[edit source]

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.