(j3.2006) (SC22WG5.5163) [ukfortran] [ Draft corrigendum 3]
Bill Long
longb
Sun Dec 22 11:29:21 EST 2013
On 12/21/13 8:12 PM, Van Snyder wrote:
> On Sun, 2013-12-22 at 09:48 +0900, Malcolm Cohen wrote:
>> I (and others) disagree with your assertion that
>> REAL x(*)
>> PARAMETER(x = [ 1,2,3,4,5 ])
>> is unreasonable and should never be allowed. Disallowing this would
>> break
>> one of our basic design rules for the BNF of declarations, which is
>> that one
>> can specify attributes independently. Yes it is a smaller edit to
>> the
>> standard, and would not remove significant functionality ... but then
>> deleting the PARAMETER statement entirely would not remove
>> significant
>> functionality!
>
> To repair the "problem" we would also need to delete the DIMENSION
> statement, so one could not do
>
> dimension X(*)
> real, parameter :: X = [ 1, 2, 3, 4, 5 ]
I would not be opposed to moving most of 5.4 into the obsolescent
column. The only ones that are not redundant and replaced by better
alternatives are PRIVATE/PUBLIC/SAVE with no entities specified, and
ASYNCHRONOUS/VOLATILE that can be used in blocks to override the host
declaration. DATA is a separate situation because of the limit on
continuation lines.
Cheers,
Bill
>
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.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