Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!archone!byron From: byron@archone.tamu.edu (Byron Rakitzis) Newsgroups: comp.lang.c Subject: Re: When do you use "if ( a = b )"? (was Re: Funny mistake) Message-ID: <13983@helios.TAMU.EDU> Date: 1 Apr 91 05:41:06 GMT References: <10655@uwm.edu> <13980@helios.TAMU.EDU> <13982@helios.TAMU.EDU> Sender: usenet@helios.TAMU.EDU Organization: College of Architecture, Texas A&M University. Lines: 15 In article <13982@helios.TAMU.EDU> byron@archone.tamu.edu (Byron Rakitzis) writes: >For the pedants on the net, the C.O.F. of the first statement is of course > > if (A = f1() - 2 || A = f2() - 3 || A = f3() - 4) > >Pardon my flatulence. Whoa, am I beet-red! I'll try not to post to comp.lang.c for another month in repentance. Even the second attempt at COF is way wrong. Last try: (though this one doesn't look as horrible as the one above) if ((A = f1()) - 2 || (A = f2()) - 3 || (A = f3()) - 4) ("not to put too fine a point on it," as the British say.)