7.2 Structured statements

Structured statements can be broken into smaller simple statements, which should be executed repeatedly, conditionally or sequentially:

_________________________________________________________________________________________________________ Structured statements
-- structured statement -| compound statement --------------------------
                    |-repetitive statement-|
                    |conditional statement|
                    |-exception statement-|
                    ----with statement-----
___________________________________________________________________

Conditional statements come in 2 flavours :

_________________________________________________________________________________________________________ Conditional statements
-- conditional statement-|-if statement---------------------------------
                     -case statement--
___________________________________________________________________

Repetitive statements come in 3 flavours:

_________________________________________________________________________________________________________ Repetitive statements
-- repetitive statement---for statament -------------------------------
                    -repeat statement-|
                     while statement
___________________________________________________________________

The following sections deal with each of these statements.


   Compound statements
   The Case statement
   The If..then..else statement
   The For..to/downto..do statement
   The Repeat..until statement
   The While..do statement
   The With statement
   Exception Statements