Here is what Dark Basic Pro Help (The F1 button) says about the "For" command.
Quote: "
FOR
This command will define a program loop that will loop a finite number of times.
Syntax
FOR Variable=Start-Value TO End-Value STEP Step-Value
Parameters
start-Value TO End-Value STEP Step-Value
Value
Enter the appropriate value here.
Returns
This command does not return a value.
Description
The FOR command requires a variable and two values to begin the loop. The variable stores the first value, and is incremented each loop until it reaches the second value. The size of the increment is determined by the STEP 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. Optionally, you can count in descending order by specifying a high first number, a low second number and a negative step value.
Example Code
FOR T=1 TO 10
PRINT T
NEXT T
WAIT KEY
"
Hope that helps, and remember F1 is your friend...