Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

IS_CONTIGUOUS

Inquiry Intrinsic Function (Generic): Tests the contiguity of an array.

result = IS_CONTIGUOUS (array)

array

(Input) Is an array; it can be of any data type. If it is a pointer, it must be associated.

Results

The result is default logical scalar. The result has the value .TRUE. if array is contiguous; otherwise, .FALSE..

Example

After the pointer assignment MY_P => TARGET (2:20:4), IS_CONTIGUOUS (MY_P) has the value .FALSE..

See Also