A few seconds googling:
The general form of the do loop is as follows:
do label var = expr1, expr2, expr3
statements
label continue
var is the loop variable (often called the loop index) which must be integer. expr1 specifies the initial value of var, expr2 is the terminating bound, and expr3 is the increment (step).