Case Range Statement ..

Derek Parnell derek at psych.ward
Tue Jul 7 15:37:49 PDT 2009


On Wed, 8 Jul 2009 07:48:07 +1000, Derek Parnell wrote:

> On Tue, 07 Jul 2009 10:50:08 -0700, Walter Bright wrote:
> 
>> I like:
>> 
>>     a .. b+1
>> 
>> to mean inclusive range.
> 
> LOL, now that *is* funny.
> 
> And I like the Euphoria language's version ...
> 
>    case X to Y 
> 
> but so what, eh?

OMG! ... having read the rest of the posts I see that you were serious. 

Sorry, didn't mean to show disrespect; I really thought it was a joke.

Are you honestly suggesting that the sequence of 

  Expression ".." Expression "+1" 

be recognized by the tokenizer as meaning Inclusive-End-Range?

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list