(j3.2006) (SC22WG5.4416) [ukfortran] WG informal ballot
Van Snyder
van.snyder
Sun Mar 27 17:49:49 EDT 2011
Bill Long wrote:
> On 3/22/11 1:43 PM, David Muxworthy wrote:
>
>> 3.1 If it is decided in a future revision that Fortran should limit
>> the range of values taken by variables, then '..' would be an
>> obvious delimiter, as it is in Ada and Pascal. The symbol '..'
>> should not be used here unnecessarily.
>>
>
> I don't see the possibility of ambiguity in this case. The standard
> already uses syntax tokens to mean different things in different contexts.
>
Fortran already has an operator for "range of integer values," i.e., the
colon.
The obvious extension to use colon for that purpose was one of the
reasons I wasn't at all concerned about using brackets for array
constructors, notwithstanding the desire of the interval arithmetic
community to reserve them for an interval constructor.
More information about the J3
mailing list