Free Pascal - Loop with condition at the end until is false: repeat untilCondition testing is done at the end of the loop. after each iteration the condition is tested, if it is was true. if the specified condition is false, then the loop will continue run, otherwise it will be completed.
DescriptionUsed keywords: repeat until
i:=10; repeat dec(i) until ( i = 0); repeat inc(i); if i=3 then break; until (i=10);
Free PascalOther pieces of example codes:
repeat inc(i); if i=5 then break; until not i <10;
repeat dec(i) until not i > 0;
Loop with condition at the end until is false in another programming language: