A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-645B6239-EF0B-4E12-9F6A-851B7C22BB80
Visible to Intel only — GUID: GUID-645B6239-EF0B-4E12-9F6A-851B7C22BB80
Whole Arrays
A whole array is a named array; it is either a named constant or a variable. It is referenced by using the array name (without any subscripts).
If a whole array appears in a nonexecutable statement, the statement applies to the entire array. For example:
INTEGER, DIMENSION(2:11,3) :: L ! Specifies the type and ! dimensions of array L
If a whole array appears in an executable statement, the statement applies to all of the elements in the array. For example:
L = 10 ! The value 10 is assigned to all the ! elements in array L WRITE *, L ! Prints all the elements in array L