5. Embedded QUEL for Ada : Ada Variables and Data Types : Variable and Type Declarations : The With Equel and With Equel_Forms Statements
 
Share this page                  
The With Equel and With Equel_Forms Statements
Along with your declarations, and prior to any executable EQUEL statements or Ada compilation units in your file, you must issue the following Ada with statement:
## with equel;
If the compilation unit uses EQUEL/FORMS statements, you should instead issue the statement:
## with equel_forms;
The above statements instruct the preprocessor to generate code to call Ingres runtime libraries. Both statements generate Ada with and use statements to make all the generated calls acceptable to the Ada compiler by including their package specifications. Note that both statements must terminate with a semicolon, as required by Ada.
The EQUEL and EQUEL_FORMS package specifications should already be in your Ada program library. (For the appropriate procedures, see Entering EQUEL Package Specifications.) Both packages assume that the types integer, float, string, and address have not been redefined by any other packages or type declarations included in your file.