Path: utzoo!mnetor!uunet!vsi!friedl From: friedl@vsi.UUCP (Stephen J. Friedl) Newsgroups: comp.lang.c Subject: Re: C Style Message-ID: <601@vsi.UUCP> Date: 23 Apr 88 17:09:25 GMT References: <11216@brl-adm.ARPA> <2111@chinet.UUCP> <4403@garfield.UUCP> <20126@think.UUCP> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 12 Summary: How about TRUE <--> 1U In article <20126@think.UUCP>, barmar@think.COM (Barry Margolin) writes: < I can think of one reason, however, why 1 should be used as a standard < truth value. Single-bit fields in structures are generally used as < flags, and it would be nice to be able to say flag = isXXX(...) rather < than flag = (isXXX(...) != FALSE). Techinically, shouldn't TRUE be `1U' if it goes into a bitfield? I'm not sure but would like to hear some thoughts on this... -- Steve Friedl V-Systems, Inc. Gene Spafford for President! friedl@vsi.com {backbones}!vsi.com!friedl attmail!vsi!friedl