Hello,
the recent discussion about the association of zero-sized
objects confused me a bit.
M. Metcalf wrote:
> ... the standard says, in the definition of ASSOCIATED,
> that for zero-size arrays the result is false.
Oops! What about this:
integer, pointer :: a(:), b(:)
allocate(a(0))
b => a
Which of the following are true ?
associated(a)
associated(b)
associated(b,a)
And, what about
size(a)
size(b)
etc ?
I hope somebody can get me right.
Regards
--
Joerg Stiller ! Tel: (0351) 463-4897
TU Dresden, ISM ! Fax: (0351) 463-5246
D-01062 Dresden ! [log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|