Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!diemen!sol!quan From: quan@sol.surv.utas.oz (Stephen Quan) Newsgroups: comp.lang.c Subject: Re: more on TRUE and FALSE (side-comment) Message-ID: Date: 17 Sep 90 11:27:59 GMT References: <9@christmas.UUCP> Sender: news@diemen.utas.edu.au Lines: 17 Personally I hate 'writing' programs with : if (strcmp(name,"hippo")==0) .... I know 'strcmp(a,b)' is designed to return 3 types of value : -ve : a comes before b. 0 : a equals b. +ve : a comes after b. but it drives me balmy (not completely balmy though!) all the same. Anyone got a cure? At the moment I'm trying DIET COKE! Stephen Quan (quan@sol.surv.utas.edu.au - ignore oz.au above, if it appears) Programmer (won't admit which compiler I have to use, but it starts with F), University of Tasmania, Aussie.