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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3cb83afdaa0ee626,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!e34g2000pra.googlegroups.com!not-for-mail From: KK6GM Newsgroups: comp.lang.ada Subject: Access types - what's happening here? Date: Tue, 25 May 2010 15:27:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5f5003e9-4b34-4489-be37-360f5c9063b9@e34g2000pra.googlegroups.com> NNTP-Posting-Host: 76.216.160.90 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1274826460 20942 127.0.0.1 (25 May 2010 22:27:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 25 May 2010 22:27:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e34g2000pra.googlegroups.com; posting-host=76.216.160.90; posting-account=qZVz2QoAAAAN9WxYp-9jYb7jORc4Zqwt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; AskTB5.2),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11994 Date: 2010-05-25T15:27:39-07:00 List-Id: Looking at Cohen's "Ada as a 2nd Language" I see in chapter 8 (Access Types), p.319, this construct which I do not understand. But first, the construct I do understand: Old_Serial_Number := Serial_Number("Lovelace, Ada").all; No confusion about that whatsoever. However, that is followed by this: "More interestingly, the assignment Serial_Number( "Lovelace, Ada").all := New_Serial_Number; copies the contenst of the integer variable into the variable pointed to by the result of the function call." Huh? Where does the New_Serial_Number value end up here?