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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,73175d2d01a1b1dd X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.8.229 with SMTP id u5mr21620201pba.0.1317029717294; Mon, 26 Sep 2011 02:35:17 -0700 (PDT) Path: lh7ni5208pbb.0!nntp.google.com!news1.google.com!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Natasha Kerensikova Newsgroups: comp.lang.ada Subject: Re: subprogram must not be deeper than access type Date: Mon, 26 Sep 2011 09:35:16 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <20110925160442.399884a0@c-01b> Mime-Version: 1.0 Injection-Date: Mon, 26 Sep 2011 09:35:16 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Mda950WjNwNLAFOE7yJXQw"; logging-data="18904"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187rPyitbjjQsGwjKI3JU9p" User-Agent: slrn/0.9.9p1 (FreeBSD) Cancel-Lock: sha1:+htpxltuJa5BKHAzMk1sKFChbb8= Xref: news1.google.com comp.lang.ada:18125 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: 2011-09-26T09:35:16+00:00 List-Id: Hello, On 2011-09-25, Oliver Kleinke wrote: > I am unsure but you might want to try it using an anonymous access to > subprogram type, as described here > ('05 Rationale, 3.4 - Downward Closures) > http://www.adaic.org/resources/add_content/standards/05rat/html/Rat-3-4.html Yes, anonymous access solved my problem, thanks a lot for the pointer. And also, thanks a lot for making me read the rationale. While I did know it existed, I thought it was on the same level of understandability as the Reference Manual, so it didn't occur to me to check it out. But now that I have discovered it, I have read several chapter and learnt a great deal about Ada \o/ Natasha