Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!mips!bridge2!jarthur!nntp-server.caltech.edu!gap!manning From: manning@gap.caltech.edu (Evan Marshall Manning) Newsgroups: comp.lang.c Subject: Re: more on TRUE and FALSE (side-comment) Message-ID: Date: 17 Sep 90 16:21:52 GMT References: <9@christmas.UUCP> Sender: news@laguna.ccsf.caltech.edu Organization: California Institute of Technology Lines: 24 quan@sol.surv.utas.oz (Stephen Quan) writes: >Personally I hate 'writing' programs with : > if (strcmp(name,"hippo")==0) .... >but it drives me balmy (not completely balmy though!) all the same. >Anyone got a cure? At the moment I'm trying DIET COKE! Try caffeine-free diet Coke. I use: #define STRING_MATCH 0 /* strcmp() returns 0 if strings match */ if (strcmp(name,"potamus") == STRING_MATCH) .... *************************************************************************** Your eyes are weary from staring at the CRT for so | Evan M. Manning long. You feel sleepy. Notice how restful it is | is to watch the cursor blink. Close your eyes. The |manning@gap.cco.caltech.edu opinions stated above are yours. You cannot | manning@mars.jpl.nasa.gov imagine why you ever felt otherwise. | gleeper@tybalt.caltech.edu