Re: Assumed-size arrays and intent(out)
- From: "robin" <robin_v@xxxxxxxxxxx>
- Date: Mon, 20 Nov 2006 12:09:36 GMT
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
argument,
This is invalid, for the reasons that I have in previous posts.
.
- References:
- Assumed-size arrays and intent(out)
- From: David Rowe
- Re: Assumed-size arrays and intent(out)
- From: Craig Powers
- Re: Assumed-size arrays and intent(out)
- From: Richard E Maine
- Re: Assumed-size arrays and intent(out)
- From: Craig Powers
- Re: Assumed-size arrays and intent(out)
- From: Richard Maine
- Re: Assumed-size arrays and intent(out)
- From: David Rowe
- Assumed-size arrays and intent(out)
- Prev by Date: Re: Argument mismatch
- Next by Date: Re: Assumed-size arrays and intent(out)
- Previous by thread: Re: Assumed-size arrays and intent(out)
- Next by thread: Re: Assumed-size arrays and intent(out)
- Index(es):
Relevant Pages
|