STEP
 
Syntax

FOR iterator = initial_value TO end_value STEP increment

Description

In a FOR statement, STEP specifies the increment of the loop iterator with each loop.
If no STEP value is specified in the FOR loop the default of 1 is used.  The STEP value should always be positive, for DOWNTO it is subtracted from the index.
Example

FOR I=1 TO 10 STEP 2
NEXT

FOR I=120 DOWNTO 10 STEP 20
NEXT

See also