(j3.2006) READ unit ambiguity
Bill Long
longb
Mon Mar 5 11:43:38 EST 2012
On 3/5/12 2:27 AM, Robert Corbett wrote:
> I found another case this past weekend.
>
>
> DO 10 .OP. P = 1, 10
>
This looks nonconforming. The syntax rule says
<do-variable> is <scalar-int-variable-name>
and 10.OP.P does not qualify as a "name".
Interestingly, there is a constraint immediately following that says
C812 (R819) The do-variable shall be a variable of type integer.
Is that constraint really necessary?
Cheers,
Bill
> I am beginning to think it was a mistake to
> allow variables to have the syntax of
> operations.
>
> Bob Corbett
>
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
--
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
More information about the J3
mailing list