(j3.2006) READ unit ambiguity

Bill Long longb
Fri Mar 2 08:26:21 EST 2012

On 3/2/12 1:05 AM, Van Snyder wrote:
> Malcolm Cohen wrote:
>>> In a new post, Ian Harvey
>> Who is this guy? I hope you've invited him to join the committee!
>>> points out that Note 3.7 is
>>> no longer true. We can now have
>>> 10 .op. p = x
>>> where 10 can be a label or a left operand.
>> Now this one is very easily fixed - just delete free-form source and
>> the problem goes away.
> I obviously wasn't thinking of this case, but I did suggest, sometime
> prior to 1986, that both statement labels and construct labels ought to
> be followed by a colon in free form.

A bit too late for that.  However, we could (somewhat artificially) 
disallow a statement number on a statement that looked like this. 
Considering that statement numbers rarely show up in newer codes, I 
would not expect much problem with backward compatibility.


>> Cheers,
> _______________________________________________
> 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