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. Below is a basic example of a loop in a batch
file.
|
:BEGIN Echo This is an endless loop! GOTO BEGIN |
- Additional information about creating a loop or rerunning a
batch file can be found on
document CH001050.
- See document CH001051
for information about canceling or aborting a batch file or
program stuck in a loop.
Also see: Control statement,
Do, Endless loop,
For, Foreach,
Goto,
Programming definitions,
Repeat
counter, STP, While
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|