For

LRM §9.6.

For executes one or more statements iteratively until an expression is true.

Syntax:

for ( initial_assignment; expression; step_assignment)
  statement

Description:

The for loop executes the statement until the expression is true. It executes the initial assignment once when the loop starts. As long as the expression evaluates to true the statement is executed. It executes the step assignment at the end of each pass through the loop.

The statements must be enclosed in a begin-end or fork-join block if more than one statement is to be executed.

Example:

for (I = 0; I < 16; I = I + 2)
  Memory[I] = D;

See also:

Forever, Repeat, While