10.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 -caisfe s statatteemmeenntt|
___________________________________________________________________

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.

  10.2.1 Compound statements
  10.2.2 The Case statement
  10.2.3 The If..then..else statement
  10.2.4 The For..to/downto..do statement
  10.2.5 The For..in..do statement
  10.2.6 The Repeat..until statement
  10.2.7 The While..do statement
  10.2.8 The With statement
  10.2.9 Exception Statements