Chapter 9
Statements

The heart of each algorithm are the actions it takes. These actions are contained in the statements of a program or unit. Each statement can be labeled and jumped to (within certain limits) with Goto statements. This can be seen in the following syntax diagram:

_________________________________________________________________________________________________________ Statements
-- --statement--|----------|----------------------------------------
               -label-:--  |-simple statement--|
                          -structured statement--|
                             asm statement
___________________________________________________________________

A label can be an identier or an integer digit.


 9.1 Simple statements
  9.1.1 Assignments
  9.1.2 Procedure statements
  9.1.3 Goto statements
 9.2 Structured 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
 9.3 Assembler statements