HP 3000 Manuals

RANGE Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

RANGE Directive 

The RANGE directive turns on or off compile-time bounds checking for:

   *   subscript and substring expressions

   *   bit-manipulation intrinsic functions

   *   DO loop increment counts that are not equal to zero

   *   assigned GOTOs

Range checking is not performed on the final dimension of assumed-sized
arrays.

Syntax 

$RANGE [ON ]
       [OFF]

Default               Off; no compile-time bounds checking for subscript
                      and substring expressions, bit-manipulation
                      intrinsic functions, DO loop increment counts that
                      are not equal to zero, and assigned GOTOs is done.

Location              The RANGE directive can appear anywhere within the
                      program unit.

Toggling/ Duration    Applies until another RANGE directive is
                      encountered.



MPE/iX 5.0 Documentation