HP Fortran Programmer's Reference (September 2007)

Arrays
Array inquiry intrinsics
Chapter 3 81
Array inquiry intrinsics
Table 3-1 lists and briefly describes the inquiry intrinsic functions that return the properties
of an array. For a full description of these intrinsics, see Chapter 11, “Intrinsic procedures, on
page 501.
Table 3-1 Array inquiry intrinsic functions
Intrinsic Description
ALLOCATED Returns the allocation status of an allocatable array;
see “Allocatable arrays” on page 64.
ASSOCIATED Returns the association status of an array pointer;
see “Pointer association status” on page 132.
LBOUND Returns either the lower bound of a specified
dimension or the lower bounds of the array as a
whole.
SHAPE Returns the shape of the array as a rank-one integer
array.
SIZE Returns the size of the array or the extent of a
particular dimension.
UBOUND Returns the upper bound of a specified dimension or
the upper bounds of the array as a whole.