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

Declarations

Literals and constants can be used in array declarations,

    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

For more information, click here gif

Now try this question gif


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

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.