[comp.lang.c] FALSE and TRUE

alanf@bruce.cs.monash.OZ.AU (Alan Grant Finlay) (09/11/90)

My suggestion of FALSE = -1 is clearly ludicrous.
The reason for the mistake is that I don't actually need to know the values
the mnemonics stand for.  Hence I was confused and got it around the wrong
way.  Since zero is used for false and any non zero for true (in conditional
statements), what I meant was TRUE = -1.
             --------------------------

The point is that the logical operators in C: ||, &&, and ! are designed to
allow any non zero value to represent TRUE.