13.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--------------------------
                    -conditional statement-|
                    -repetitive statement --|
                    |--with statement---|
                    -exception statement --
___________________________________________________________________

Conditional statements come in 2 flavours :

_________________________________________________________________________________________________________
Conditional statements

--conditional statement--case statement-------------------------------
                    --if 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.

  13.2.1 Compound statements
  13.2.2 The Case statement
  13.2.3 The If..then..else statement
  13.2.4 The For..to/downto..do statement
  13.2.5 The For..in..do statement
  13.2.6 The Repeat..until statement
  13.2.7 The While..do statement
  13.2.8 The With statement
  13.2.9 Exception Statements