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

 

Visualisation of Arrays

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

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

tex2html_wrap27059

For more information, click here gif

Now try this question gif


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

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.