Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!roger@ll-sst From: roger@ll-sst (Roger Hale) Newsgroups: net.lang.c Subject: Re: places where sets are useful Message-ID: <8991@brl-tgr.ARPA> Date: Wed, 6-Mar-85 11:37:40 EST Article-I.D.: brl-tgr.8991 Posted: Wed Mar 6 11:37:40 1985 Date-Received: Fri, 8-Mar-85 03:11:16 EST Sender: news@brl-tgr.ARPA Lines: 23 (From: Brandon Allbery) > In a project I'm involved in, I was going to use the following: > > #define PLUS | > #define MINUS &~ > #define IN & > > #define ELEM_1 01 > ... > if (ELEM_1 IN bunch) ... (Forgive me if I've misquoted slightly) I find this appealing, in a way. My question for the day: I can say bunch PLUS= ELEM_1; but not bunch MINUS= ELEM_1; Is this an argument for an &~= assignment operator? :=) Yours, Roger Hale (roger@ll-sst.arpa)