インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス

OPTIONS Statement

Statement: Overrides or confirms the compiler options in effect for a program unit.

OPTIONS option[option...]

option

Is one of the following:

/ASSUME =

[NO]UNDERSCORE

/CHECK =

ALL

[NO]BOUNDS

NONE

/NOCHECK

/CONVERT =

BIG_ENDIAN

CRAY

FDX

FGX

IBM

LITTLE_ENDIAN

NATIVE

VAXD

VAXG

/[NO]EXTEND_SOURCE

/[NO]F77

/[NO]I4

/[NO]RECURSIVE

Note that an option must always be preceded by a slash (/).

Some OPTIONS statement options are equivalent to compiler options.

The OPTIONS statement must be the first statement in a program unit, preceding the PROGRAM, SUBROUTINE, FUNCTION, MODULE, and BLOCK DATA statements.

OPTIONS statement options override compiler options, but only until the end of the program unit for which they are defined. If you want to override compiler options in another program unit, you must specify the OPTIONS statement before that program unit.

Example

The following are valid OPTIONS statements:

  OPTIONS /CHECK=ALL/F77
  OPTIONS /I4

See Also