Skip to content
Craig Edwards edited this page Apr 28, 2023 · 3 revisions

FOR

FOR numeric-variable = numeric-expression TO numeric-expression
NEXT 

FOR numeric-variable = numeric-expression TO numeric-expression STEP numeric-expression
NEXT

Loop until the variable reaches the end condition. If the STEP expression evaluates to a negative value, then the variable will decrement to the lower value.

Clone this wiki locally