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

 

Types of Arrays

In the following 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
     ...




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

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