Path: utzoo!mnetor!uunet!husc6!ut-sally!nather From: nather@ut-sally.UUCP (Ed Nather) Newsgroups: comp.lang.c Subject: Re: (So-Called) ANSI C Message-ID: <10027@ut-sally.UUCP> Date: 8 Jan 88 16:59:05 GMT References: <4668@pyr.gatech.EDU> <495@xyzzy.UUCP> <9930@mimsy.UUCP> <6996@brl-smoke.ARPA> Organization: U. Texas CS Dept., Austin, Texas Lines: 17 > In article <4735@pyr.gatech.EDU> roy@pyr.gatech.EDU (Roy Mongiovi) writes: > >While they're at it, why don't they fix up operator precedence and the > >stupid "=" versus "==" typo in if's. > It isn't a typo. I use it all the time to assign a value to a variable, then test the result. I find it seriously irritating that Turbo C crabs about the construction. Like everyone else, I have written "=" when I meant "==" ... just as I have made many bonehead errors in writing code. But I don't blame the compiler, or the langauge, when I do. -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.AS.UTEXAS.EDU