next up previous contents
Next: Solution Up: Procedures and Modules Previous: Procedures and Modules

 

Types of Arrays

In the following internal subroutine, which are the automatic and which are the assumed shape arrays?

    SUBROUTINE Array_Types(A,B,C,D)
     INTEGER, INTENT(IN) :: D
      REAL, DIMENSION(:,:) :: A,C
      REAL, DIMENSION(:)   :: B
      REAL, DIMENSION(SIZE(A)) :: E
      INTEGER, DIMENSION(1:D,1:D) :: F
     ...

Go back to Notes gif




next up previous contents
Next: Solution Up: Procedures and Modules Previous: Procedures and Modules

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.