Effects of the Directives [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
Effects of the Directives
Table 7-1 lists the default condition if a compiler directive is
omitted. The default condition remains in effect until specifically
changed.
Table 7-1. Default State of the Compiler Directives
-----------------------------------------------------
- Compiler Directive - Default State -
-----------------------------------------------------
- ANSI - OFF -
- CHECK_ACTUAL_PARM - Level 3 -
- CHECK_FORMAL_PARM - Level 3 -
- CHECK_OVERFLOW - INTEGER -
- CODE - ON -
- CODE_OFFSETS - OFF -
- CONTINUATIONS - 19 lines -
- COPYRIGHT - NONE -
- DEBUG - OFF -
- ELSE - NONE -
- ENDIF - NONE -
- EXTERNAL_ALIAS - NONE -
- FTN3000_66 - OFF -
- HP3000_16 - OFF -
- IF - NONE -
- INCLUDE - NONE -
- INIT - OFF -
- LINES - 56 -
- LIST - ON -
- LIST_CODE - OFF -
- LITERAL_ALIAS - OFF -
- LOCALITY - NONE -
- LONG - LONG -
- LOWERCASE - ON -
- NLS - OFF -
- NOSTANDARD - OFF -
-----------------------------------------------------
- Continued on next page -
-----------------------------------------------------
Table 7-1. Default State of the Compiler Directives (cont.)
-----------------------------------------------------
- Compiler Directive - Default State -
-----------------------------------------------------
- ONETRIP - OFF -
- OPTIMIZE - OFF -
- PAGE - NONE -
- PAGEWIDTH - 80 -
- RANGE - OFF -
- RLFILE - NONE -
- RLINIT - NONE -
- SAVE_LOCALS - OFF -
- SET - NONE -
- SHORT - (LONG) -
- STANDARD_LEVEL - HP -
- SUBTITLE - NONE -
- SYMDEBUG - OFF -
- SYSINTR - SYSINTR.PUB.SYS -
- SYSTEM INTRINSIC - NONE -
- TABLES - OFF -
- TITLE - NONE -
- UPPERCASE - OFF -
- VERSION - NONE -
- WARNINGS - ON -
- XREF - OFF -
-----------------------------------------------------
The following directives have special effects:
* ALIAS, if placed before the PROGRAM statement, has a global effect
(that is, it affects all procedures or function calls throughout
the program). If placed after the PROGRAM statement, the
directive is in effect only in the current program unit (that is,
it only has a local effect).
* COPYRIGHT must be issued separately for each program unit; that
is, it only has a local effect.
* INCLUDE is invoked once for each file to be included.
* PAGE takes effect (once for each occurrence) at the place it is
issued.
* SYSTEM INTRINSIC, if placed before the PROGRAM statement, has a
global effect (that is, it declares system intrinsics throughout
the program). If placed before the first nondirective statement
of a program unit, it takes effect thereafter. This directive
works exactly like the SYSTEM INTRINSIC statement, except with a
global effect.
* VERSION must be issued separately for each program unit; that is,
it only has a local effect.
In this chapter, the term "program head" is any of the following
statements: PROGRAM, SUBROUTINE, FUNCTION, or BLOCK DATA.
MPE/iX 5.0 Documentation