Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!qantel!hplabs!tektronix!uw-beaver!ubc-vision!alberta!myrias!cg From: cg@myrias.UUCP (Chris Gray) Newsgroups: net.lang.c Subject: Re: Equality vs Assignment Message-ID: <270@myrias.UUCP> Date: Thu, 18-Sep-86 15:48:29 EDT Article-I.D.: myrias.270 Posted: Thu Sep 18 15:48:29 1986 Date-Received: Wed, 24-Sep-86 00:08:20 EDT References: <2259@gitpyr.UUCP> Organization: Myrias Research, Edmonton Lines: 7 Keywords: Who has not been bitten The proper place for this check is of course as a warning issued by the C compiler. It's not all that hard - it took me about 30 lines of code in the compiler (ANSI draft based) that I've done. It's a check I felt was quite important, since I've been bitten by it too many times (I program in other languages besides C, where '=' IS a comparison). Chris Gray (...alberta!myrias!cg)