Newsgroups: comp.lang.c
Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!lethe!druid!darcy
From: darcy@druid.uucp (D'Arcy J.M. Cain)
Subject: Re: Compound Assignments
Message-ID: <1991Apr9.122048.4287@druid.uucp>
Organization: D'Arcy Cain Consulting, West Hill, Ontario
References: <1991Apr4.205257.15205@mccc.edu> <1991Apr6.195901.25255@dvorak.amd.com> <1991Apr7.185259.12709@druid.uucp>
Date: Tue, 9 Apr 91 12:20:48 GMT

In article <1991Apr7.185259.12709@druid.uucp> I wrote:
>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 -- it is evaluated
>>only once, just as in the first example.  The standard says just this
> [me pointing out the obvious]

Oops.  There was a first example that I missed when I posted.  The above
were examples 2 and 3.  Sorry Tim.

-- 
D'Arcy J.M. Cain (darcy@druid)     |
D'Arcy Cain Consulting             |   There's no government
Toronto, Ontario, Canada           |   like no government!
+1 416 424 2871                    |
