Path: utzoo!utgpu!watmath!att!pacbell!ames!indri!uakari.primate.wisc.edu!csd4.milw.wisc.edu!cs.utexas.edu!uunet!bfmny0!tneff From: tneff@bfmny0.UUCP (Tom Neff) Newsgroups: comp.lang.misc Subject: Re: What I'd really like to see in an if-statement... Message-ID: <14530@bfmny0.UUCP> Date: 9 Aug 89 00:09:30 GMT References: <8577@batcomputer.tn.cornell.edu> Reply-To: tneff@bfmny0.UUCP (Tom Neff) Organization: ^ Lines: 11 The obvious drawback to defining 'triadc' as a macro #define triadc(a,o1,b,o2,c) ((a o1 b) && (b o2 c)) is side effects, e.g. if (triadc(' ', *cp++, '_')) do_the(wrong, thing); /* :-) */ -- "We walked on the moon -- (( Tom Neff you be polite" )) tneff@bfmny0.UU.NET