cobol2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
INITCALL Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The possible values of priority are:
 
      H  High priority (the default if no priority is specified)
      L  Low priority
 
     Specifying INITCALL causes the compiler to insert a call to the
     named module. At run time, the module specified will be 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 will clear 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.
                                    -♦-