Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!think!mit-eddie!genrad!decvax!mcnc!rti-sel!ge-rtp!ge-dab!caesar From: caesar@ge-dab.UUCP (Robert J. Caesar Jr.) Newsgroups: net.lang.c Subject: RE: Equality vs Assignment Message-ID: <374@ge-dab.UUCP> Date: Sun, 21-Sep-86 11:59:38 EDT Article-I.D.: ge-dab.374 Posted: Sun Sep 21 11:59:38 1986 Date-Received: Mon, 22-Sep-86 07:53:36 EDT Organization: GE Simulation & Controls, Daytona Beach, FL Lines: 19 Keywords: = or == I don't have a programs, but this might help as a future solution. In the project I am involved with, we use: #define is == #define isn_t != This has helped us avoid a lot of headaches. The code reads a little easier too. if (x is 1) if (y isn_t x) -- Bob Caesar General Electric SCSD caesar@static.dab.ge.com PO Box 2500 Room 4336 (904) 258-3043 Daytona Beach, Florida 32015 ...!mcnc!ge-rtp!ge-dab!caesar