> Richard Maine wrote:
>
> The reason F90 acts this way (I guess) is that when you pass a section of an
> array into a
> routine, you don't want to be hobbled by the fact that the section was
> (12:43,22:23).
UBOUND and LBOUND would have enabled the actual bounds
to have been obtained.
There are some problems with an array X defined as (0:2147483647)
inder the F90 scheme.
> You want
> to treat the section as an array in its own right. The fact that you need the
> original,
> possibly oddball bounds might be a warning not to use a subroutine at all;
> and if you really
> do, passing the bounds in will be a good self documenting step to the reader,
> warning him/her
> that "The original bounds actually matter this time!"
>
> Alvaro Fernandez
> Rice University
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|