next up previous contents
Next: Modules Interface Declaration Example Up: Modules Previous: Visualisation of Global Storage

 

Modules - Interface Declaration

It is good practice (and often mandatory) to declare procedure interfaces in any program unit invoking the corresponding procedure, however, in a single executable program there will be:

by placing all interface declarations in a MODULE the above problems become more tractable; the interfaces will be visible wherever the module is used. This method allows the interface to be declared just once (in the module) thereby almost eliminating the scope for typos and mismatches. It also has the advantage of collecting all the interfaces together which is a handy reference during coding.

Return to corresponding overview page gif




next up previous contents
Next: Modules Interface Declaration Example Up: Modules Previous: Visualisation of Global Storage

©University of Liverpool, 1997
Wed May 28 20:20:27 BST 1997
Not for commercial use.