Loop

Term used to describe the process of a software program or script repeats the same instructions or processes the same information over and over until receiving the order to stop. If not handled properly a loop can cause the computer to become slower as it becomes overwhelmed with having to repeat the same steps over and over causing it to get stuck in an endless loop. Below is a basic example of a loop in a batch file.

:BEGIN
Echo This is an endless loop!
GOTO BEGIN

Also see: Control statement, Do, Endless loop, For, Foreach, Goto, Iteration, Programming definitions, Repeat counter, STP, While