Keyword Step - leonard-thieu/monkey GitHub Wiki

Optional For/Next loop modifier specifying size of iteration step. See For for details and examples.

Syntax

  For Local IndexVariable := FirstValue To LastValue Step StepValue    Statements...   Next

Description

The optional Step keyword, followed by a constant value, allows control over the size of the iteration step in a For/Next loop.

See also

Examples

For k=1 To 1000 Step 100
    Print k
Next