Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!boulder!rainer From: rainer@boulder.Colorado.EDU (Rainer Malzbender) Newsgroups: comp.lang.c Subject: Re: Funny mistake Message-ID: <1991Mar17.184930.15049@colorado.edu> Date: 17 Mar 91 18:49:30 GMT References: <8148@rsiatl.Dixie.Com> <15481@smoke.brl.mil> <1991Mar16.195153.15509@murdoch.acc.Virginia.EDU> Sender: news@colorado.edu (The Daily Planet) Organization: sporadic Lines: 8 Nntp-Posting-Host: rhubarb.colorado.edu I believe my Datalight (Zortech) compiler actually issues a warning if you say "if(a=b)", something like "possible unintended assignment". This actually helped me out a few times, but I've since switched to MSC6.0. -- Rainer Malzbender, PhD "It's not the bullet that kills you, it's the hole." Dept. of Physics (303)492-6829 -Laurie Anderson U. of Colorado, Boulder rainer@boulder.colorado.edu 128.138.240.246