Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!decvax!cca!ima!ism780!jim From: jim@ism780.UUCP Newsgroups: net.lang.c Subject: Re: Subtle C's - (nf) Message-ID: <147@ism780.UUCP> Date: Wed, 25-Apr-84 23:59:59 EST Article-I.D.: ism780.147 Posted: Wed Apr 25 23:59:59 1984 Date-Received: Sat, 28-Apr-84 09:24:50 EST Lines: 18 #R:acf4:-1390000300:ism780:12500004:000:474 ism780!jim Apr 25 10:26:00 1984 > Another subtle non-equivalence: > > while (a) if (b) foo; else bar; > > is not a syntax error, but is not equal to > > while (a) { if (b) foo; else bar; } You are wrong. These are equivalent according to a) C syntax rules. b) pcc generated code. c) common sense. There are a lot of people on this net who act like they know what they are talking about, but don't. BEWARE OF FALSE WIZARDS! -- Jim Balter, Interactive Systems (decvax!yale-co!ima!jim)