2.06 Grouping Statements

DO groups

A DO group is a set of statements that start with the word DO and finish with the word END.

Generally any executable statements can be included within a DO group, including other DO groups.

Within the language structure a DO group is treated as if it were a single statement. What this means is that generally anywhere where a single statement is acceptable then a DO group is also acceptable.

The DO statement may be modified by the words WHILE or UNTIL to make a conditional loop.

DO ... END

Defines a block of statements.


lynplex/lp0206.txt · Last modified: 2011/11/06 19:31 (external edit)