On Thu, 29 Jul 2004, Colin Millar wrote:
> When an array is passed to a subroutine or function as an assumed shape
> array, do the references for each dimension of the dummy array begin at 1.
> Is this a portable assumption??
>
> i.e. in the program below, if main_array was passed to subroutine A in the
> main code, would the shape of the assumed size array in subroutine A be
> dimension(1:10,1:6) ???
yes. (this was actually a surprise to me when i initially encountered
this).
renchi
|