Current Help System: Tutor Translator (View Core Help)

### FOR Commands

The Tutor FOR syntax is:

FOR CONTROL_VAR=VAL1 TO VAL2 [By VAL3]
. . . .
. . . .
END_FOR

Where:

- VAL1 is the stat integer value. It could be a variable.

- VAL2 is the stop integer value. It could be a variable.

- VAL3 is the optional integer step value. It could be a variable.

Translation depends on type of VAL3:

- Val3 is an immediate value or missing.

- Val3 is an integer variable

For each of FOR repetition commands the following is true:

- The name of the control variable becomes FOR_name

- The label END_FORx is used for EXIT and EXIF command translation. x is the progressive FOR command ID.

More:

Commands where Val3 is an immediate value or missing

Command where Val3 is an integer variable