Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!killer!convex!sushi!grogers From: grogers@sushi.uucp (Geoffrey Rogers) Newsgroups: comp.lang.c Subject: Re: down Message-ID: <762@convex.UUCP> Date: 17 Dec 88 01:52:23 GMT References: Sender: news@convex.UUCP Reply-To: grogers@sushi.UUCP (Geoffrey Rogers) Organization: Convex Computer Corporation, Richardson, Tx. Lines: 9 In article slores%gables.span@umigw.miami.edu (Stanislaw L. Olejniczak) writes: > chcnt++ += (c == '\n'); The above statement is not legal in C. The reason why it is not legal is because 'chcnt++' is consider to be a expression and you can not have a expression of the form "expression asignment_operator expression". Geoffrey C. Rogers CONVEX