Syntax
repeat
Statements
...
until Boolean expression
Description
Delphi’s repeat
statement works the same way
as that of standard Pascal. The Statements
are executed repeatedly until the Boolean
expression
is True.
Example
if FindFirst(Path, faAnyFile, Search) = 0 then
try
repeat
MungFile(Path + Search.Name);
until FindNext(Search) <> 0;
finally
FindClose(Search);
end;
See Also
Boolean Type, Break Procedure, Continue Procedure, For Keyword, Until Keyword, While Keyword |