Name

Do Keyword

Syntax

for Variable := Expression to Expression do Statement
while Expression do Statement
try Statement... except on ExceptionClass do Statement end;
with Expression do Statement

Description

The do keyword is part of Delphi’s for and while statements, try-except exception handler, and with statement. See the explanations of these statements for details.

See Also

For Keyword, Try Keyword, While Keyword, With Keyword

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.