Case Range Statement ..

Jesse Phillips jessekphillips+d at gmail.com
Tue Jul 7 12:47:52 PDT 2009


Ary Borenszweig Wrote:

> > 
> > to? really, no, it needs to be -
> > 
> > switch (var) {
> >     case 0:
> >         break;
> > 
> >     case 1 - 5:
> >         break;
> > }
> 
> Is that a joke?

No, I just hope it won't be taken seriously. :)



More information about the Digitalmars-d mailing list