Chapter 7
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 identifier or an integer digit.


 7.1 Simple statements
   Assignments
   Procedure statements
   Goto statements
 7.2 Structured 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
 7.3 Assembler statements