The Inherit Attribute
EQUEL/Pascal also comes with a Pascal environment file that has the same declarations in the compiled include file. By means of the VMS Pascal inherit attribute, you can use this environment file instead of issuing a declare statement. Compilation should be slightly faster with this technique. The syntax for inheriting the EQUEL runtime routines is:
## [inherit('EQUEL')] program_heading;
## [inherit('EQUEL')] program test( input, output );
## var
## msg : varying[100] of Char;
## begin
## forms
msg := 'No DECLARE statement was issued';
## message msg
## end.
For information on installing the environment file, see
Precompiling, Compiling, and Linking an EQUEL Program.