Case Range Statement ..

Walter Bright newshound1 at digitalmars.com
Tue Jul 7 10:50:08 PDT 2009


bearophile wrote:
> Bill Baxter:
>> Or define some other char sequence to mean inclusive range.  Like  a ..|b  or a..:b or a..^b, etc.<
> 
> The Chapel language uses:
> ..#
> That I think is better than all your alternatives. But I think Andrei doesn't like this too.

I like:

    a .. b+1

to mean inclusive range.



More information about the Digitalmars-d mailing list