Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!paperboy!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Compound Assignments Message-ID: <15764@smoke.brl.mil> Date: 8 Apr 91 21:17:51 GMT References: <1991Apr4.205257.15205@mccc.edu> <1991Apr6.195901.25255@dvorak.amd.com> <1991Apr7.185259.12709@druid.uucp> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 11 In article <1991Apr7.185259.12709@druid.uucp> darcy@druid.uucp (D'Arcy J.M. Cain) writes: >In article <1991Apr6.195901.25255@dvorak.amd.com> Tim Olson writes: >>| x *= y; >>| x = x * y; >>In the second example, "x" is not evaluated twice ... >Huh? Am I missing something ... Yes, what you missed was that there were two examples given of compound assignment, one involving a relatively complex l.h.s. and the other as shown in the citation above. The "second example" was the entire citation, not the second line of the citation.