Semantics : ForStatements

ForStatements  ::=  ( ForStatement | ForInStatement | ForFromToStatement | RepeatStatement )

Used by:  

The for and repeat statements include a Java-style statement and a few variations particularly designed for array iterations.

The break and continue statements may take a label and work the same way as in Java.