Case Range Statement ..

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jul 7 17:42:00 PDT 2009


Derek Parnell wrote:
> On Tue, 07 Jul 2009 19:29:21 -0500, Andrei Alexandrescu wrote:
> 
>> There is no need for a right-closed range in the language. It can be 
>> defined with ease as a library, although I'm not finding myself in need 
>> of one.
> 
> Process all the characters from 'a' to 'z' inclusive.
> 
> Currently, ('a' .. 'z'+1)
> 
> Logically, ('a' .. 'z')

Do we need a language feature for that?

Andrei



More information about the Digitalmars-d mailing list