Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!tymix!cirrusl!sunstorm!dhesi From: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Newsgroups: comp.lang.c Subject: Re: TRUE and FALSE Message-ID: <2316@cirrusl.UUCP> Date: 28 Aug 90 04:22:31 GMT References: <11215@alice.UUCP> <514@demott.COM> Sender: news@cirrusl.UUCP Organization: Cirrus Logic Inc. Lines: 17 In <514@demott.COM> kdq@demott.COM (Kevin D. Quitt) writes: TRUE and FALSE are used for assignment purposes only. It makes the intent of the code more obvious. When I find somebody who really, really, really wants to define TRUE and FALSE, even somebody who uses them for assignment only, I recommend the following defines instead: #define ZERO 0 #define ONE 1 These are so much more clear than TRUE and FALSE, and if you use them in a test, you know exactly what you're testing! -- Rahul Dhesi UUCP: oliveb!cirrusl!dhesi