IS_CONTIGUOUS intrinsic function
Standard: F77 F90 F95 F2003 F2008   Example Program
<Syntax>
IS_CONTIGUOUS ( ARRAY )

ARRAY : array of any type;

Result : Logical scalar, default kind.
<Semantics>
The result is .TRUE. if the argument is stored contiguously, and .FALSE. if the argument is not contiguous. Contiguity refers to the spacing between array elements, so there is no meaning in the result for a zero-sized array.
<Related>
CONTIGUOUS attribute, DIMENSION attribute