Next: Array Sections
Up: Arrays
Previous: Whole Array Expressions
Given,
REAL, DIMENSION(1:6,1:8) :: P
Consider the following assignments,
- P(1:3,1:4) = P(1:6:2,1:8:2) and
P(1:3,1:4) = 1.0 are valid. - P(2:8:2,1:7:3) = P(1:3,1:4) and
P(2:6:2,1:7:3) = P(2:5,7) are
not. - P(2:5,7) is a 1D section (scalar in dimension 2) whereas
P(2:5,7:7) is a 2D section.
For more information, click here
Next: Array Sections
Up: Arrays
Previous: Whole Array Expressions
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.