ActionScript 3 Language Specification |
|||
| ActionScript 3.0 Language Specification > 1 Tutorial introduction > 1.3 Statements | |||
Statements are executed in the order that they appear in a block. Some statements change control flow by abrupt completion, such as break and continue, or by iteration, such as while and do. An example of a statement follows:
for (var i:int = 0; i < 5; i++) {
trace(i);
}
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/specs/actionscript/3/as3_specification5.html