From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:aed:232d:: with SMTP id h42mr11890089qtc.143.1610719010236; Fri, 15 Jan 2021 05:56:50 -0800 (PST) X-Received: by 2002:a25:7449:: with SMTP id p70mr17109401ybc.363.1610719010021; Fri, 15 Jan 2021 05:56:50 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 15 Jan 2021 05:56:49 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=20.133.0.13; posting-account=YRfoYAoAAADhSEO2nLYx10QUUvp8akYl NNTP-Posting-Host: 20.133.0.13 References: <1cc09f04-98f2-4ef3-ac84-9a9ca5aa3fd5n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5a249a9a-0b16-431d-8530-3962b25b6498n@googlegroups.com> Subject: Re: Lower bounds of Strings From: Stephen Davies Injection-Date: Fri, 15 Jan 2021 13:56:50 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61141 List-Id: On Friday, 15 January 2021 at 11:48:27 UTC, Jeffrey R. Carter wrote: > type String_Base is array (Positive range <>) of Character; > subtype String is String_Base (Positive range 1 .. <>); I wish it had been this way since the beginning. That way, in those rare instances where code is really using the variable lower-bound, the use of String_Base would the intention clear. Alas, making that change now would break that code.