RAD Studio |  |

do
See Also
Collapse All

Category

Statements

Syntax

Copy Code

    do <statement> while ( <condition> );

Description

The do statement executes until the condition becomes false.

<statement> is executed repeatedly as long as the value of <condition> remains true.

Since the conditon tests after each the loop executes the <statement>, the loop will execute at least once.

See Also

while

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!