From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-22 01:01:45 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: += in ada Date: 22 Oct 2003 01:01:44 -0700 Organization: http://groups.google.com Message-ID: References: <1066311805.222491@master.nyc.kbcfp.com> <3F8F3077.60402@comcast.net> <3F900F35.50203@comcast.net> <3F92B607.809@comcast.net> <3F937806.9080205@comcast.net> NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1066809705 24880 127.0.0.1 (22 Oct 2003 08:01:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Oct 2003 08:01:45 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:1382 Date: 2003-10-22T01:01:44-07:00 List-Id: Lutz Donnerhacke wrote in message news:... > * Russ wrote: > > "Robert I. Eachus" wrote in message news:<3F937806.9080205@comcast.net>... > >> in a nutshell. Chad even gave a perfect riposte, to the question of > >> side effects. The statement x += y += 1; is perfectly legal C, and I'll > >> let Russ choose what is the effect, and what is the side effect. > > > > I'll tell you exactly what the effect is: a compile error. > > You should learn even C before ranting any further. I was programming experimantal real-time precision landing systems in C++ 10 years ago. > > And I must say that I am a bit surprised that this is not obvious to you. > > Your attitude does not match you knowledge. That's not funny. > > > "+=" would be a procedure, and my understanding of procedures in Ada is > > that they do *not* return a value. > > Yep. But we talked about C in this paragraph. No, I wrote exclusively about Ada, except to point out that "x += y += 1" compiles in C but not in Ada. And that renders Mr. Eachus's point irrelevant to Ada. I did *not* claim that "x += y += 1" would not compile in C. I do have your permission to discuss Ada here on comp.lang.ada, do I not? > > Am I missing something here? > > Yes: The language context. Look, folks, I'm trying my best to be polite, but you have to agree that this guy is seriously confused to say the least. And he seems to have some kind of personal animosity toward me. That's bad for your emotional health, dude.