CHECK_ACTUAL_PARM Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
CHECK_ACTUAL_PARM Directive
This directive specifies the level of checking the HP Link Editor/iX
performs when a program calls a subroutine or function.
Syntax
{0}
$CHECK_ACTUAL_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 indicate
the level of checking on the parameters of the subroutine or function;
the levels are listed in Table 7-2 .
Table 7-2. Levels of Checking
------------------------------------------------------------------
| | |
| Level | Description |
| | |
------------------------------------------------------------------
| | |
| 0 | No checking. |
| | |
------------------------------------------------------------------
| | |
| 1 | Check the function type. |
| | |
------------------------------------------------------------------
| | |
| 2 | Check the function type and the number of |
| | subroutine or function parameters. |
| | |
------------------------------------------------------------------
| | |
| 3 | Check the function type, the number of subroutine |
| | or function parameters, and the type of each |
| | parameter. |
| | |
------------------------------------------------------------------
Default Level 3. If the subroutine or function has a lower
checking level (as found in the subroutine or
function's CHECK_FORMAL_PARM directive, if
specified), the HP Link Editor/iX ignores the level
indicated by the CHECK_ACTUAL_PARM directive and
uses the lower level. The compiler generates no
parameter checking information for subroutines or
functions declared SYSTEM INTRINSIC.
Location The CHECK_ACTUAL_PARM directive can appear anywhere
in the source code.
Toggling/ Duration This directive remains in effect until the next
occurrence of CHECK_ACTUAL_PARM.
MPE/iX 5.0 Documentation