Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!brl-adm!brl-smoke!smoke!rbj@icst-cmr From: rbj@icst-cmr (Root Boy Jim) Newsgroups: net.lang.c Subject: String Compare Message-ID: <670@brl-smoke.ARPA> Date: Thu, 8-May-86 13:45:05 EDT Article-I.D.: brl-smok.670 Posted: Thu May 8 13:45:05 1986 Date-Received: Sun, 11-May-86 02:45:26 EDT Sender: news@brl-smoke.ARPA Lines: 14 A more general mechanism is #define strrel(a,R,b) (strcmp(a, b) R 0) which allows you to write strrel(a,==,b). I *like* it! In fact, I think this is sufficiently general enuf to be called simply `string'. Some consider this to be abuse of the preprocessor. Well, they're just a bunch of wimps! (Root Boy) Jim Cottrell "One man gathers what another man spills"