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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-21 12:03:22 PST Path: archiver1.google.com!news2.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.42.224.136!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet-peer0!btnet!news5-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail Sender: mjw@golux Newsgroups: comp.lang.ada Subject: Strings initialised by literals From: Matthew Woodcraft Message-ID: <87elra9kiu.fsf@chiark.greenend.org.uk> User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: 21 Jul 2001 19:58:33 +0100 NNTP-Posting-Host: 213.107.104.73 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 995741894 213.107.104.73 (Sat, 21 Jul 2001 19:58:14 BST) NNTP-Posting-Date: Sat, 21 Jul 2001 19:58:14 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:10410 Date: 2001-07-21T19:58:33+01:00 List-Id: I've a feeling this question came across this newsgroup recently, but I've been unable to find the thread. If I write Sample : String := "example"; Gnat tells me that Sample'First is 1. Is this guaranteed by the langauge, or does the compiler choose? -M-