RAD Studio
ContentsIndex
PreviousUpNext
do

Category 

Statements 

Syntax  

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.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!