repeat loop

repeat loop

(programming)
(Or "do loop") A loop construct found in many procedural languages which repeatedly executes some instructions while a condition is true.

Repeat loops are found in Perl, Pascal, BASIC and C. The initial keyword may be "repeat" or "do" and the condition may be introduced with a "while" or "until" keyword.

In constrast to a while loop, the "loop body" is executed once before the condition is tested. This is useful when the condition depends on the action of the loop body. In the following BASIC loop "Hello" is printed once despite the fact that the condition is false;

i = 2 repeat print "Hello" i = i+1 until i>0

See also while loop and for loop.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
References in periodicals archive ?
However, the most likely reason that the eerie repeat loop happens is simply that the Internet was never meant to become an international telephone service.
The consequence of that repeat loop of failure is being felt by people all over Scotland and beyond.
In general I hoped I would get more confidence on the repeat loop but, passing so many crashed cars, it didn't happen.
Proof: Since [??] is smaller than or equal to [omega](G), the condition to exit the repeat loop implies that there are at least
Proof: Since [omega] is smaller than or equal to [omega](G), the condition to exit the repeat loop implies that there are at least
Subsequently, he developed a new pelvic collection and persistent pouchpresacral space fistula that was treated with a laparoscopic drainage and repeat loop ileostomy.
According to the values for b1 to b4, the repeat loop enters the first if-then statement (line 14) only.
We will exit the repeat loop when [MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII], and thus it follows that in this case [MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII].
Put the contestants first, drop the judges' bickering and pension off Louis Walsh as he and his quips are on repeat loop from every previous series he's appeared in.