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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-19 18:34:11 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Ideas for Ada 200X Date: 19 Jun 2003 18:34:11 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1056072851 13704 127.0.0.1 (20 Jun 2003 01:34:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Jun 2003 01:34:11 GMT Xref: archiver1.google.com comp.lang.ada:39469 Date: 2003-06-20T01:34:11+00:00 List-Id: Brian.Gaffney@myrealbox.com (Brian Gaffney) wrote in message news:<5e9b8c34.0306191222.6c9fd0ec@posting.google.com>... > 18k11tm001@sneakemail.com (Russ) wrote > > Brian.Gaffney@myrealbox.com (Brian Gaffney) wrote > >How could it also be a procedure that modifies one of its arguments? > It's called overloading: > procedure "+" (Left : in out Integer; Right : in Integer); > function "+" (Left : Integer; Right : Integer) return Integer; > would be perfectly reasonable (though I won't comment on its > desirability). It would be the goofiest "+" operator around. If I write i := i + j + 1 what happens to j?