Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!think!ames!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.lang.c Subject: Re: Defining TRUE and FALSE Message-ID: <23263@sun.uucp> Date: Sun, 12-Jul-87 18:57:56 EDT Article-I.D.: sun.23263 Posted: Sun Jul 12 18:57:56 1987 Date-Received: Mon, 13-Jul-87 04:20:36 EDT References: <13851@watmath.UUCP> <23052@sun.uucp> <13260@topaz.rutgers.edu> Sender: news@sun.uucp Lines: 18 Keywords: boolean, true, false > Guy, just since relational operators are defined to return 0 and 1, > does not mean that all truth values fall in this category. Ron, if you can find any claim that all truth values *do* fall into that category in my posting, you have much better eyes than I do. In fact, I quote from that very posting: I presume that in this case "my_func()" returns something to be thought of as a Boolean, except that any non-zero value, not just 1, maps to TRUE. The point is that if somebody's going to define TRUE and FALSE, *with TRUE being the particular value of "true" generated by the relational operators*, there's no point in defining TRUE as "0 == 0" instead of "1". Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com