Specifies modules to be called immediately before the first statement of the program is executed.
>>-.---..-----INITCALL--"module"-.------------..>< +-/-+| +-"priority"-+| +-NO--INITCALL-------------------------+
Default: | NOINITCALL |
Phase: | Syntax check |
$SET: | Initial |
Comments:
Specifying INITCALL causes the Compiler to insert a call to the named module. At run time, the module specified is called before any procedural code is executed. You cannot pass parameters to the called module.
To call several modules using this feature, you must use the INITCALL directive repeatedly. NOINITCALL clears the list of modules to be called.
Calls specified with a high priority are placed before all calls with a low priority, as well as other calls made by the Compiler. Low priority calls are placed after other calls made by the Compiler. Calls with the same priority are executed in the order they are specified.