Previous Topic: ExamplesNext Topic: Syntax


DO Control Statement

The DO control statement is used to repeat a given set of statements a specified number of times until a certain condition is met or while a certain condition is met. The set of statements following the DO control statement and preceding the corresponding END control statement constitute a DO group. This DO group continues to execute as long as all necessary conditions are met. As a point of reference, the function and evaluation of the DO control statement itself is referred to as DO operation.