Case Range Statement ..
Nick Sabalausky
a at a.a
Tue Jul 7 02:49:36 PDT 2009
"Tim Matthews" <tim.matthews7 at gmail.com> wrote in message
news:h2v4pa$qde$1 at digitalmars.com...
> Nick Sabalausky wrote:
>> "Tim Matthews" <tim.matthews7 at gmail.com> wrote in message
>> news:h2v0ng$ko8$1 at digitalmars.com...
>>>> b) "(1,3)" already means two things, neither of which has anything to
>>>> do
>>> Could you kindly state those?
>>>
>>> I can see that just having "(1,3)" preceded with the "case" keyword
>>> makes most other meanings impossible.
>>
>> One is a function paramater list. Someone else said it's also an
>> expression that evaluates to 3, but that seems beyond useless to me.
>
> Neither. Functions can't be named case and expressions with no effect must
> be cast to void.
Huh? I think we got out-of-sync when I accidentially quoted more than I
meant to. I was responding specifically to "(1,3) already means two
things...Could you kindly state those?"
More information about the Digitalmars-d
mailing list