Category
Statements
Syntax
for ( [<initialization>] ; [<condition>] ; [<increment>] ) <statement>
Description
The for statement implements an iterative loop.
<condition> is checked before the first entry into the block.
<statement> is executed repeatedly UNTIL the value of <condition> is false.
The scope of any identifier declared within the for loop extends to the end of the control statement only.
A variable defined in the for-initialization expression is in scope only within the for-block. See the description of the -Vd option.
All the expressions are optional. If <condition> is left out, it is assumed to be always true.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|