Keyword Next - leonard-thieu/monkey GitHub Wiki
Declares the end of a For/Next loop. See For for details and examples.
Syntax
For Local IndexVariable := FirstValue To LastValue [ Step StepValue ] Statements... Next
For Local IndexVariable := FirstValue Until LastValue [ Step StepValue ] Statements... Next
For Local IndexVariable := EachIn Collection Statements... Next
Description
Next declares the end of a For/Next loop.
An alternative to Next is End For, or simply End.