March 2000
Intermediate to advanced
576 pages
18h 13m
English
Repeat Keyword
repeatStatements... untilBoolean expression
Delphi’s repeat statement works the same way
as that of standard Pascal. The Statements
are executed repeatedly until the Boolean
expression is True.
The Statements always execute at least
once.
You don’t need begin and
end to define a block because the
repeat and until keywords
delimit the statement
list.
if FindFirst(Path, faAnyFile, Search) = 0 then try repeat MungFile(Path + Search.Name); until FindNext(Search) <> 0; finally FindClose(Search); end;
| Boolean Type, Break Procedure, Continue Procedure, For Keyword, Until Keyword, While Keyword |
Read now
Unlock full access