6. Embedded QUEL for BASIC : Precompiling, Compiling, and Linking an EQUEL Program : Generating an Executable Program : The BASIC Compiler
 
Share this page                  
The BASIC Compiler
As mentioned above, the preprocessor generates BASIC code. You should use the VMS basic command to compile this code. Most of the basic command line options can be used. You should not use the g_float or h_float qualifiers if floating-point values in the program are interacting with INGRES floating-point objects. If you use the byte or word compiler qualifiers, you must run the EQUEL preprocessor with the -i1 or -i2 flag. Similarly, use of the BASIC double qualifier requires that you have preprocessed your EQUEL file using the -r8 flag. Note, too, that many of the statements that the EQUEL preprocessor generates are BASIC language extensions provided by VAX/VMS. Consequently, you should not attempt to compile with the ansi_standard qualifier.
The following example preprocesses and compiles the file "test1." Note that both the EQUEL preprocessor and the BASIC compiler assume the default extensions.
$ eqb test1
$ basic/list test1
Note:  Check the Readme file for any operating system specific information on compiling and linking EQUEL/BASIC programs.