HP 3000 Manuals

CHECK_FORMAL_PARM Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

CHECK_FORMAL_PARM Directive 

This directive specifies the level of checking the HP Link Editor/iX
performs when a subroutine or function is called.

Syntax 

                  {0}
$CHECK_FORMAL_PARM{1}
                  {2}
                  {3}
The level 0, 1, 2, or 3 determines the amount of information placed in
the object file.  The HP Link Editor/iX uses this information to check
the formal parameters of the declared procedure or function against the
actual parameters in the calling program, subroutine, or function.  The
possible levels are the same as for the CHECK_ACTUAL_PARM directive and
are listed in Table 7-2 .

Default               Level 3.

                      If the checking level of the subroutine or function
                      call is lower, the HP Link Editor/iX ignores the
                      checking level specified by the CHECK_FORMAL_PARM
                      directive and uses the lower value.

Location              This directive must appear before any nondirective
                      statement in the program unit, including the
                      program head.

Toggling/ Duration    This directive remains in effect until the next
                      occurrence of CHECK_FORMAL_PARM. Cannot be toggled
                      after the appearance of nondirective statements in
                      a program unit.



MPE/iX 5.0 Documentation