home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!uunet.ca!wildcan!sq!msb
- From: msb@sq.sq.com (Mark Brader)
- Newsgroups: comp.lang.c
- Subject: Re: How to use 'return' in c?
- Message-ID: <1992Nov12.064533.9545@sq.sq.com>
- Date: 12 Nov 92 06:45:33 GMT
- Article-I.D.: sq.1992Nov12.064533.9545
- References: <1992Nov9.190838.3391@mksol.dseg.ti.com> <7162TB3w165w@quest.UUCP>
- Organization: SoftQuad Inc., Toronto, Canada
- Lines: 14
-
- > > > I define TRUE as (1==1) because the result of this is a boolean ...
- > > No, the result of this is *1*. ...
- > No, the result is *represented* by a 1. "1" is not a boolean value. ...
-
- No, the result *is* 1. In *math*, the equality operator yields a
- Boolean value. In C, the == operator yields an int value.
-
- It may be correct to say that you don't *like* this fact, but it is
- not correct to deny the fact.
- --
- Mark Brader, Toronto "... one man's feature is another man's bug."
- utzoo!sq!msb, msb@sq.com -- Chris Torek
-
- This article is in the public domain.
-