Table of Contents xiii  9.1.3  Goto Statements  ...................  171  9.2 Structured Statements ........................  172  9.2.1  Compound Statements  ..............  172  9.2.2 Conditional Statements  ..............  172  9.2.3  Repetitive Statements  ...............  173  9.2.4 With Statements  ...................  176  to.  Blocks, Scope, and Activations  ....................  177  to.1  Blocks  ...................................  177  10.2 Scope  ...................................  178  to.3 Activations  ...............................  179  11.  Procedures and Functions  ........................  181  11.1  Procedure Declarations ......................  181  11.2 Function Declarations .......................  183  11.3  Parameters  ...............................  184  11.3.1  Formal Parameter Lists  .............  185  11.3.2 Actual Parameter Lists. . . . . . . . . . . .  ..  187  11.3.3  Parameter-List Congruity  ...........  188  11.3.4 Conformability and Conformant Types  .  189  11.4 Predeclared Procedures  .....................  190  11.4.1  File Handling Procedures  ...........  190  11.4.2 Dynamic Allocation Procedures  .....  191  11.4.3 Data Transfer Procedures  ...........  192  11.5  Predeclared Functions  ......................  192  11.5.1  Arithmetic Functions. . . . . . . . . . . . .  ..  192  11.5.2 Boolean Functions. . . . . . . . . . . . . . .  ..  193  11.5.3 Transfer Functions  ................  193  11.5.4 Ordinal Functions  .................  193  12.  Textfile Input and Output  ........................  194  12.1  Read  ....................................  194  12.1.1  Char Read  .......................  195  12.1.2 Integer Read  .....................  195  12.1.3 Real Read  .......................  195  12.2 Readln ...................................  195  12.3  Write  ....................................  196  12.3.1  Char Write  .......................  197  12.3.2 Integer Write  .....................  197  12.3.3 Real Write  .......................  197  12.3.4 Boolean Write  ....................  198 