7. Embedded QUEL for Pascal : Precompiling, Compiling, and Linking an EQUEL Program : Generating an Executable Program : Assembling and Linking Precompiled Forms
 
Share this page                  
Assembling and Linking Precompiled Forms
The technique of declaring a precompiled form to the FRS is discussed in the QUEL Reference Guide. To use such a form in your program, you must also follow the steps described here.
In VIFRED, you can select a menu item to compile a form. When you do this, VIFRED creates a file in your directory describing the form in the VAX-11 MACRO language. VIFRED lets you select the name for the file. After you have created the MACRO file this way, you can assemble it into linkable object code with the VMS command
macro filename
The output of this command is a file with the extension ".obj". You then link this object file with your program (in this case named "formentry" by listing it in the link command, as in the following example:
$ link formentry,-
  empform.obj,-
  ii_system:[ingres.files]equel.opt/opt