Next: , Previous: , Up: Loops   [Contents][Index]


20.10.2 for

The for statement has this form:

for ([decls];[expr];[stmts]) stmt

where decls is an optional declaration or chain of declarations separated by commas, expr is an optional boolean expression, stmts is an optional comma-separated list of statements, and stmt is a statement.