Chapter 13
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 :    -stsrimucptluere- sdt-atsteamteemnetnt -|
                       ---asm -statement----|
___________________________________________________________________

A label can be an identifier or an integer digit.

 13.1 Simple statements
  13.1.1 Assignments
  13.1.2 Procedure statements
  13.1.3 Goto statements
 13.2 Structured 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
 13.3 Assembler statements