next up previous contents
Next: Array I/O Example Up: Arrays Previous: Array Sections

 

Array I/O

The conceptual ordering of array elements is useful for defining the order in which array elements are output. If A is a 2D array then:

    PRINT*, A

would produce output in the order:

  A(1,1),A(2,1),A(3,1),..,A(1,2),A(2,2),..

    READ*, A

would assign to the elements in the above order.

This order could be changed by using intrinsic functions such as RESHAPE, TRANSPOSE or CSHIFT.

For more information, click here gif


next up previous contents
Next: Array I/O Example Up: Arrays Previous: Array Sections

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