Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!bruce!alanf From: alanf@bruce.cs.monash.OZ.AU (Alan Grant Finlay) Newsgroups: comp.lang.c Subject: Re: FALSE and TRUE (Sorry, I did mean TRUE = -1?) Message-ID: <3051@bruce.cs.monash.OZ.AU> Date: 11 Sep 90 04:55:01 GMT Organization: Monash Uni. Computer Science, Australia Lines: 9 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.