STANDARD_LEVEL Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
STANDARD_LEVEL Directive
The STANDARD_LEVEL directive sets the level of syntax that the compiler
processes routinely.
Syntax
{ANSI }
$STANDARD_LEVEL {HP }
{SYSTEM}
If the compiler encounters a FORTRAN language feature not legal at the
specified level, it issues a warning message on the listing and then
compiles the feature normally.
ANSI refers to the ANSI 77 FORTRAN standard (ANSI X3.9-1978).
Specifying the ANSI level is semantically equivalent to
specifying $ANSI ON. This level has the fewest language
features of the three. Warnings are given for any
non-ANSI features.
HP the default, indicates Hewlett-Packard Standard FORTRAN
(FORTRAN 77). This level allows more language features
than the ANSI level and includes the MIL-STD 1753
extensions. Warnings are given for system-specific
features only.
SYSTEM indicates FORTRAN 77 plus additional system dependent
features added to the language. This level has the most
language features of the three. No warnings are given
for nonstandard features.
Default HP; allows MIL-STD 1753 extensions.
Location STANDARD_LEVEL must appear before any nondirective
statement in a program unit, including the program
head.
Toggling/ Duration Cannot be toggled after the appearance of
nondirective statements in a program unit.
Example
$STANDARD_LEVEL HP
MPE/iX 5.0 Documentation