FOR and NEXT
This command will define a program loop that will loop a finite number of times. The FOR command requires a variable and two values to begin the loop. The variables stores the first value, and is incremented by 1 each loop until it reaches the second value. The NEXT command is placed to mark the end of the loop. As the variable increments during the loop, you can use its value in many ways. You can increase the size of this increment by using the STEP command.

SYNTAX
FOR Variable = value1 TO value2
Commands Go Here
NEXT Variable

RELATED INFO
Basic Commands
Glossary

EXAMPLE
FOR NEXT Commands