7. Embedded QUEL for Pascal : Pascal Variables and Data Types : Compilation Units and the Scope of Objects : The Module Unit
 
Share this page                  
The Module Unit
The syntax for an EQUEL/Pascal module definition is:
module module_name [(identifier {, identifier})];
    [declarations]
end.
where declarations are the same as those for program units (see above). For a detailed description of the various types of declarations, see Declaration Syntax.
Syntax Notes:
1. The module_name and the identifiers are not processed by EQUEL.
2. The various declaration sections can appear in any order and can be repeated.
##  module ExternalVars;
##  var
##      CurFormName, CurFieldName, CurColName :
##          varying[12] of Char;
##      CurTableRow : Integer;
##  end.