Print

Print


Jean Vezina wrote:
> Here is another problem case:
>
> character(2),allocatable::s(:,:)
> call check(s)
> contains
> subroutine check(x)
> character(*)  x(:,:)
I can't find my copy of the TR, but as a guess, does it
allow an * for the length of an allocatable dummy?

What is the exact error message?

Dick Hendrickson
> allocatable x ! error message sent here
> print *,len(x)
> end subroutine
> end
>
> The compiler sends an error message at the allocatable statement but
> it is supposed to implement fully the allocatable array extension
> described in the document TR 15581?
>
> Thanks in advance!
>
> Jean Vezina
>