Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!jh4o+ From: jh4o+@andrew.cmu.edu (Jeffrey T. Hutzelman) Newsgroups: comp.lang.c Subject: Re: more on TRUE and FALSE (side-comment) Message-ID: Date: 17 Sep 90 14:00:24 GMT References: <9@christmas.UUCP>, Organization: Carnegie Mellon, Pittsburgh, PA Lines: 17 In-Reply-To: Try if (!strcmp(name,"hippo")) It works, although it's a bit confusing to those who don't know that strcmp() returns 0 for equal and non-0 for unequal. Or, write a macro: #define strequ(a,b) !strcmp(a,b) if (strequ(name,hippo)) ----------------- Jeffrey Hutzelman America Online: JeffreyH11 Internet/BITNET:jh4o+@andrew.cmu.edu, jhutz@drycas.club.cc.cmu.edu >> Apple // Forever!!! <<