02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Array inquiry intrinsics<br />

Arrays<br />

Array inquiry intrinsics<br />

Table 4-1 lists and briefly describes the inquiry intrinsic functions that return the properties<br />

of an array. For a full description of these intrinsics, see Chapter 11, “Intrinsic procedures,”<br />

on page 467.<br />

Table 4-1 Array inquiry intrinsic functions<br />

Intrinsic Description<br />

ALLOCATED Returns the allocation status of an allocatable array;<br />

see “Allocatable arrays” on page 62.<br />

ASSOCIATED Returns the association status of an array pointer;<br />

see “Pointer association status” on page 50.<br />

LBOUND Returns either the lower bound of a specified<br />

dimension or the lower bounds of the array as a<br />

whole.<br />

SHAPE Returns the shape of the array as a rank-one integer<br />

array.<br />

SIZE Returns the size of the array or the extent of a<br />

particular dimension.<br />

UBOUND Returns the upper bound of a specified dimension or<br />

the upper bounds of the array as a whole.<br />

Chapter 4 79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!