Chapter 10
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 sdtatsteamteemnetnt-|
                       ---asm statement----|
___________________________________________________________________

A label can be an identifier or an integer digit.

 10.1 Simple statements
  10.1.1 Assignments
  10.1.2 Procedure statements
  10.1.3 Goto statements
 10.2 Structured 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
 10.3 Assembler statements