9.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 -ciafs seta sttaetmeemnetnt|
___________________________________________________________________

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.


  9.2.1 Compound statements
  9.2.2 The Case statement
  9.2.3 The If..then..else statement
  9.2.4 The For..to/downto..do statement
  9.2.5 The Repeat..until statement
  9.2.6 The While..do statement
  9.2.7 The With statement
  9.2.8 Exception Statements