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,9def0a9c238c7bd8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-11 23:17:09 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: Ada 0x Wish List Organization: RMIT References: <3A8764FF.CAE087E3@acm.org> User-Agent: MT-NewsWatcher/3.0 (PPC) Message-ID: Date: Mon, 12 Feb 2001 07:23:19 GMT NNTP-Posting-Host: 144.132.95.65 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 981962599 144.132.95.65 (Mon, 12 Feb 2001 18:23:19 EST) NNTP-Posting-Date: Mon, 12 Feb 2001 18:23:19 EST Xref: supernews.google.com comp.lang.ada:5146 Date: 2001-02-12T07:23:19+00:00 List-Id: Jeffrey Carter wrote: > This already exists. It is called a function: > > B : constant Integer := 5; > > function C return Integer; > > In the package body: > > C_Value : Integer := 8; ...and if you put C_Value in the package declaration's private section, it'll be visible to child packages. What -I- would like to see is a named parameter association that shows you the mode of the parameter.... E.g. procedure X (a : in integer; b : in out integer; c : out integer); X (a <- 5, b <-> y, c -> d); It would be nice to see in a procedure call exactly which way the data is going. Not quite sure how you would represent "access" mode. Maybe the same as "in out"? Dale