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,4ce0ea7d497db907 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: anonymous access type Date: Wed, 04 Mar 2009 19:00:01 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1236211201 32548 192.74.137.71 (5 Mar 2009 00:00:01 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 5 Mar 2009 00:00:01 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:U53YzJ0TowkW2Hh1TpCTfrScabg= Xref: g2news1.google.com comp.lang.ada:3954 Date: 2009-03-04T19:00:01-05:00 List-Id: Jean-Pierre Rosen writes: > Although it is not syntactically specified this way in the RM, you > should see "access" as a kind of mode in itself. Therefore, it replaces > the "in". > > The idea (at least in Ada95) was that you did not pass a pointer, you > passed an object (of the designated type) by reference. Thus, "access" > was really the mode. It is a bit less true in 2005, since null values > are now allowed. FWIW, when Tucker invented access parameters, his first thought was that this should be a new "mode" -- so a mode could be 'in', 'in out', 'out', or 'access'. It didn't turn out that way, but it's not so wrong to think of 'access' as a parameter passing mode. - Bob