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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-30 15:40:14 PST Path: archiver1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!cox.net!news-xfer.cox.net!news2.telebyte.nl!news.completel.fr!ircam.fr!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Alexandre E. Kopilovitch" Newsgroups: comp.lang.ada Subject: Re: In-Out Parameters for functions Date: Sat, 31 Jan 2004 02:39:43 +0300 (MSK) Organization: Cuivre, Argent, Or Message-ID: References: <6fjh109qllmjek7ud2me7k1t40so3ervmk@4ax.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1075505954 34745 80.67.180.195 (30 Jan 2004 23:39:14 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 30 Jan 2004 23:39:14 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <6fjh109qllmjek7ud2me7k1t40so3ervmk@4ax.com>; from "Dmitry A. Kazakov" at Thu, 29 Jan 2004 10:20:29 +0100 X-Mailer: Mail/@ [v2.44 MSDOS] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:5128 Date: 2004-01-31T02:39:43+03:00 Dmitry A. Kazakov wrote: > I am afraid that allowing IN OUT parameters would be inconsistent with > the functions of the protected objects. Provided that the prefix > notation creeps Ada, it will be difficult to explain when X.Foo may > change X and when not. If we require a mark for IN OUT parameter at call cite, that is, F(keyword X) then X.F will be illegal (given that keyword F.X is illegal). Alexander Kopilovitch aek@vib.usr.pu.ru Saint-Petersburg Russia