next up previous contents
Next: Declarations Up: Arrays Previous: Array Terminology

Visualisation of Arrays

    REAL, DIMENSION(15)       :: A
    REAL, DIMENSION(-4:0,0:2) :: B
    REAL  :: C(5,3), D(0:4,0:2) ! Shorthand

Individual array elements are denoted by subscripting the array name by an INTEGER, for example, A(7) tex2html_wrap_inline44009 element of A, or C(3,2), 3 elements down, 2 across.

tex2html_wrap44015

For more information, click here gif

Now try this question gif


next up previous contents
Next: Declarations Up: Arrays Previous: Array Terminology

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