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


14.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.