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,9862c21fee63f95c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-09 11:14:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail Message-ID: <3EE4CE96.6030002@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Visibility and Elaboration References: <7BD8CDF4.671052CE.0015D3EC@netscape.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.62.164.137 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1055182488 24.62.164.137 (Mon, 09 Jun 2003 18:14:48 GMT) NNTP-Posting-Date: Mon, 09 Jun 2003 18:14:48 GMT Organization: AT&T Broadband Date: Mon, 09 Jun 2003 18:14:48 GMT Xref: archiver1.google.com comp.lang.ada:38868 Date: 2003-06-09T18:14:48+00:00 List-Id: David C. Hoos, Sr. wrote: >>So using the "new" reserved word is different than an elaboration? > Yes. Fine, as long as you remember that the object created by the allocator may contain things that require elaboration. In the code posted, the package elo nested in the procedure doelaboration is elaborated everytime doelaboration is called. (Of course, this is not normal Ada, where all packages tend to be library units, or children of library packages. Tasks created by allocators are a more common case of elaboration after the main program starts execution.)