next up previous contents
Next: Array Element Ordering Up: Arrays Previous: Array Terminology

 

Declarations

So long as the value of lda is knowngif, the following are valid:

    REAL, DIMENSION(100)       :: A
    REAL, DIMENSION(10,10)     :: B
    REAL, DIMENSION(-10:-1)    :: X
    INTEGER, PARAMETER :: lda = 5
    REAL, DIMENSION(0:lda-1)   :: Y
    REAL, DIMENSION(1+lda*lda,10) :: Z

The above example demonstrates:

Now try this question gif


next up previous contents
Next: Array Element Ordering Up: Arrays Previous: Array Terminology

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 15:03:35 GMT 1996
Not for commercial use.