14.2 OPTIONS Statement

The OPTIONS statement overrides or confirms the compiler options in effect for a program unit. It takes the following form:

OPTIONS option [option...]

Is one of the following:

 /ASSUME = [NO]UNDERSCORE   (Alpha only)

          {ALL            }
          {[NO]BOUNDS     }
          {[NO]UNDERFLOW  }
          {NONE           }


            {BIG_ENDIAN     }
            {CRAY           }
            {FDX            }
            {FGX            }
 /CONVERT = {IBM            }
            {LITTLE_ENDIAN  }
            {NATIVE         }
            {VAXD           }
            {VAXG           }


          {D_FLOAT   (VMS only)  }
 /FLOAT = {G_FLOAT   (VMS only)  }
          {IEEE_FLOAT            }

 /[NO]G_FLOATING   (VMS only)

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

Some OPTIONS statement options are equivalent to compiler options.

Rules and Behavior

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.


The following are valid OPTIONS statements:



For More Information:

For details on compiler options, see your user manual or programmer's guide.

Previous Page Next Page Table of Contents