next up previous contents
Next: Solution Up: Arrays Previous: Solution

 

Inqiry intrinsics etc.

Given,

    INTEGER, DIMENSION(-1:1,3,2) :: A

Write a small program which contains intrinsic function calls to show:

  1. the total number of elements in A,
  2. the shape of A
  3. the lower bound in dimension 2
  4. the upper bound in dimension 3




next up previous contents
Next: Solution Up: Arrays Previous: Solution

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 14:10:26 GMT 1996