Case Range Statement ..

Jesse Phillips jessekphillips at gmail.com
Tue Jul 7 21:51:54 PDT 2009


On Wed, 08 Jul 2009 08:37:49 +1000, Derek Parnell wrote:

> 
> Are you honestly suggesting that the sequence of
> 
>   Expression ".." Expression "+1"
> 
> be recognized by the tokenizer as meaning Inclusive-End-Range?

I'm pretty sure he just meant for his brain. I happen to agree. I 
generally like the mathematical [1,7) syntax, but I think I'd have a hard 
time reading that in code.

Then again, there was mention of needing int.max+1 to be a special case.



More information about the Digitalmars-d mailing list