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-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.154.76 with SMTP id n12mr1802019bkw.1.1341276482144; Mon, 02 Jul 2012 17:48:02 -0700 (PDT) MIME-Version: 1.0 Path: y28ni10743bky.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.ecp.fr!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Mon, 2 Jul 2012 19:47:55 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <99d27165-f1da-4d0b-a121-fd8dbf637635@googlegroups.com> <8e48e4e4-14a0-4f6c-a133-2716f0506035@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1341276480 6769 69.95.181.76 (3 Jul 2012 00:48:00 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 3 Jul 2012 00:48:00 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Date: 2012-07-02T19:47:55-05:00 List-Id: On Friday, June 29, 2012 1:29:03 PM UTC+2, (unknown) wrote: > 1. Want to see parameter modes in calls. > > procedure Proc (An_In_Parameter : in Integer; > An_Out_Parameter : out Integer; > An_Inout_Parameter : in out Integer; > An_Access_Parameter : access Integer); > > Proc (An_In_Parameter <= A, > An_Out_Parameter => B, > An_Inout_Parameter <=> C, > An_Access_Parameter -> D'Access); > > A becomes An_In_Parameter, An_Out_Parameter becomes B, etc. Formally, an access parameter has mode "in" ("access" is NOT a parameter mode), so this is definitely not exactly obvious. There is a (brief) discussion of this idea in AI05-0144-1; it was rejected as not really solving the problem at hand. (Which is not the same as saying that it doesn't solve ANY problem.) I know there was an e-mail discussion on this idea as well, but I haven't been able to locate it. Randy.