Compiling and Running the Program

The two example modules and the form file must be compiled. You can select the Build option in the Genero Studio Project view to perform these tasks or use command line tools.

From the command line, compiling the main module is sufficient, because the compiler will automatically detect the imported module from the IMPORT FGL instruction, and compile the custquery module if needed:

fglcomp -M custmain.4gl

This produces the pcode modules custmain.42m and custquery.42m.

Compile the form file with:
fglform -M custform.per

And then the program can be executed with:

fglrun custmain.42m