Array basics

A whole array is denoted by the name of the array.

! In this declaration, the array is given a type and dimension
REAL, DIMENSION(3) :: A
! In these expressions, each element is evaluated in each expression
PRINT *, A, A+5, COS(A)

A whole array is either a named constant or a variable.

Dimension

In Fortran 2008, an array can have up to fifteen dimensions.

IBM extension beginsIn XL Fortran, an array can have up to twenty dimensions. IBM extension ends



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us