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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: What do you think about this? Date: Thu, 25 Jun 2015 10:20:02 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <9894cde7-2cf8-4060-be65-857812ad7b09@googlegroups.com> <17436268-aceb-461f-bdcf-eee8436cd0e6@googlegroups.com> <86y4jaqzdx.fsf@stephe-leake.org> <86oak5qulb.fsf@stephe-leake.org> <86k2usq66p.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 25 Jun 2015 17:18:43 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="a3855fbfe1a666be9aefba0563039ed5"; logging-data="27087"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cJbHwV5jUfZFFAdZTS9maKuJsyXhbuAU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <86k2usq66p.fsf@stephe-leake.org> Cancel-Lock: sha1:zNY+6e1iBr8BuNpezzpshkDaX34= Xref: news.eternal-september.org comp.lang.ada:26474 Date: 2015-06-25T10:20:02-07:00 List-Id: On 06/25/2015 06:16 AM, Stephen Leake wrote: > "Jeffrey R. Carter" writes: > >> This is a terrible idea. As compiler writer, ARG member, and ARM editor Brukardt >> said recently in another thread, anonymous access types are evil. > > This is one place they are very useful. Still evil and to be avoided, even here. >> I would even >> argue against a named access type for this, since unbounded strings are >> available. In this case, the OP has an instance of bounded strings available and >> would probably want to use that. > > That makes them non-constant, which is certainly _not_ the intent! Declaring the array constant deals with that. -- Jeff Carter "I unclog my nose towards you." Monty Python & the Holy Grail 11