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:ad4:4c50:: with SMTP id cs16mr12223414qvb.33.1610719243701; Fri, 15 Jan 2021 06:00:43 -0800 (PST) X-Received: by 2002:a25:9902:: with SMTP id z2mr17359869ybn.339.1610719243549; Fri, 15 Jan 2021 06:00:43 -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 06:00:43 -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: <83a0ca89-4265-4a96-8ad3-384a3d56c327n@googlegroups.com> Subject: Re: Lower bounds of Strings From: Stephen Davies Injection-Date: Fri, 15 Jan 2021 14:00:43 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61142 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 make the intention clear. Alas, adopting this now would break that code.