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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-14 05:49:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!not-for-mail Sender: mheaney@MHEANEYX200 Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? References: From: Matthew Heaney Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Sep 2003 12:49:37 GMT NNTP-Posting-Host: 65.110.133.134 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.atl.earthlink.net 1063543777 65.110.133.134 (Sun, 14 Sep 2003 08:49:37 EDT) NNTP-Posting-Date: Sun, 14 Sep 2003 08:49:37 EDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:42475 Date: 2003-09-14T12:49:37+00:00 List-Id: "Frank J. Lhota" writes: > "Matthew Heaney" wrote in message > news:uvfrvanu3.fsf@earthlink.net... > > 18k11tm001@sneakemail.com (Russ) writes: > > What kind of "augmented" assignment operator did you have in mind? > > I'm fairly sure he means the sort of thing where instead of writing > > Item(Number).Inventory.Count := Item(Number).Inventory.Count + 1; > > you could write > > Item(Number).Inventory.Count +:= 1; Well, here's what I do in this case: declare N : Integer renames Item (Number).Inventory.Count; begin N := N + 1; end;