Re: Assumed-size arrays and intent(out)

David Rowe wrote in message <1163673991.056478.195060@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...

Thanks to all who replied. Apologies if my original post didn't make
my concerns clear - it was the later elements of the actual argument
array that I was worried about invalidating. Based on what's been
said, I'm proposing to do the following

subroutine sub43(f, neq)
real, dimension(2), intent(in out):: f
integer, intent(out):: neq

end subroutine

i.e. I can use dimension(2) instead of dimension(*) for my dummy

This is invalid, for the reasons that I have in previous posts.