writes:
> Richard <devr_@gmail.com> wrote:
>> santosh <> writes:
>>
>>> Richard wrote:
>>>> santosh <> writes:
>>>>> Robbie Hatley wrote:
>>>>>> "Richard" <devr_@gmail.com> wrote:
>>>>>>> Richard Heathfield <> writes:
>>>
>>> <snip>
>>>
>>>>>>> > x < 30 is a relational expression, and all expressions have
>>>>>>> > values. Relational expressions have the value 0 if they're false,
>>>>>>> > and 1 if they're true. So x < 30 will evaluate to 0 if x is less
>>>>>>> > than 30, and 1 otherwise.
>>>>>>>
>>>>>>> It won't actually.
>>>>>>
>>>>>> How do you figure? It does in standard C. If it doesn't for you,
>>>>>> then your compiler is broken and you should get a better one.
>>>>>
>>>>> The expression x < 30 will evaluate to 1 if x is less than 30 and
>>>>> zero otherwise. Richard said the reverse, by mistake I'm sure.
>>>>
>>>> Getting something totally backwards is,of course, a mistake. There is
>>>> no evil intent in my correction. Why you feel the need to confirm his
>>>> "mistake" is very strange.
>>>
>>> Because he did not spot RJH's error and therefore, could not understand
>>> your correction.
>>
>> So therefore, maybe he should post nothing? Did that cross your mind? he
>> waffled on about my broken compiler and its as clear as day he never
>> tried the code with his wonderful,all singing, all dancing compiler.
>
> That's the risk you take when you post such a terse answer -- people
> don't know whether you're confused or just being coy. Expanding your
> answer just a tad, say to something like:
>
> It won't actually, it's the other way around.
>
> would have saved a whole flurry of messages and some hard feelings.
Not really. Santosh and the others got it. I explained in another post
why I didn't do that. But point taken, even though I don't necessarily agree.