Iteration Statements

Iteration (loop) statements allow repeated execution of a statement block. At the beginning or end of each iteration, a test expression is evaluated, and, based on that evaluation, either the statement block is executed, or control is passed to the statement that follows the iteration statement. The test expression must eventually return a value that will terminate the iteration, unless you exit the iteration through other means (such as an Exit statement).

The Intent language uses four types of iteration statements: