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,ef8134bf67e8207f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-23 02:55:37 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.net!easynews!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Strings initialised by literals Message-ID: References: <87elra9kiu.fsf@chiark.greenend.org.uk> <3B5A2478.460CC8B6@worldnet.att.net> <3B5B7E39.79B814F4@avercom.net> Organization: LJK Software Date: 23 Jul 2001 05:55:29 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 995882133 216.44.122.34 (Mon, 23 Jul 2001 09:55:33 GMT) NNTP-Posting-Date: Mon, 23 Jul 2001 09:55:33 GMT Xref: archiver1.google.com comp.lang.ada:10454 Date: 2001-07-23T05:55:29-05:00 List-Id: In article <3B5B7E39.79B814F4@avercom.net>, Tucker Taft writes: > > > James Rogers wrote: > >> This is guaranteed by the language. >> >> The string type is defined as : >> >> type string is array(Positive range <>) of character; > > Not all strings start at 1. However, when there is no "applicable index > constraint" provide by context, then the low bound is the lower bound of > the index subtype, which in this case is Positive (and Positive'First = > 1). > See RM95 4.3(26). Actually 4.3.3(26), I presume (now that you have pointed it out).