It is possible to create a generic or dedicated Program Interpreter which combines both procedure bodies and formula operators. Follow the procedures for creating the appropriate type of PROGRUN and link it as follows.
You need a .LNK file to link the required object code modules.
Create a file called CPROGRUN.LNK containing a single line as follows. For a generic PROGRUN:
progrun qcfunc qcbody your C modules
For a dedicated PROGRUN:
<your main module> qcfunc <your C function modules>
Set up this file using an editor, making sure that there is no terminating <CR> (Carriage Return).
Link the executable program with the batch file supplied with DP4. Use the following command:
QABLINK CPROGRUN
where CPROGRUN.LNK is the name of the .LNK file you have created. This will produce the executable program CPROGRUN.EXE.