Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!husc6!panda!genrad!decvax!bellcore!ulysses!mhuxr!mhuxn!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!drillsys!soma!bcm5000!baylor!peter From: peter@baylor.UUCP Newsgroups: net.lang.c Subject: Re: Re: Boolean Operators Slighted in C Message-ID: <644@baylor.UUCP> Date: Sat, 10-May-86 15:54:17 EDT Article-I.D.: baylor.644 Posted: Sat May 10 15:54:17 1986 Date-Received: Fri, 16-May-86 02:33:07 EDT References: <838@ihwpt.UUCP> <778@bentley.UUCP> <210@sdchema.sdchem.UUCP> Organization: The Power Elite, Houston, TX Lines: 17 > Not quite the same. > 3 ^^ 4 > would evaluate as 0, > 3 != 4 > evaluates as 1. Wrong. Remember: 3 && 4 = 1 3 & 4 = 0 ^^ was intended by the original poster as a logical operator, not a boolean one (despite the title of the message). -- -- Peter da Silva -- UUCP: ...!shell!{baylor,graffiti}!peter; MCI: PDASILVA; CIS: 70216,1076