(j3.2006) Compilers disagree

Bill Long longb
Tue Oct 27 15:05:06 EDT 2009



Van Snyder wrote:
> My compilers disagree concerning whether this is legal:
> 
> subroutine before ( A, N )
>   implicit NONE
>   real A(N)
>   integer N
> end subroutine before
> 
> I thought the declaration for N had to precede its use in the
> declaration for A, but I can't find the relevant requirement.
> 
> Is it there, or am I imagining it?
> 


How about [151:3-6] in 09-007r3 (in the section on rules for 
specification expressions).

Cheers,
Bill


-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120





More information about the J3 mailing list