TRUE and FALSE

Peter da Silva peter at ficc.ferranti.com
Fri Aug 31 00:17:45 AEST 1990


In article <3835 at sactoh0.SAC.CA.US> jak at sactoh0.SAC.CA.US (Jay A. Konigsberg) writes:
> #define TRUE -1

This is C, not Forth. The truth value returned by comparison operators is
defined to be "1".
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter at ferranti.com



More information about the Comp.lang.c mailing list