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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,da5197b9dca0ed40 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!198.186.190.251.MISMATCH!transit4.readnews.com!news-out.readnews.com!postnews7.readnews.com!not-for-mail Message-Id: <4c16c088$0$2366$4d3efbfe@news.sover.net> From: "Peter C. Chapin" Subject: Re: Processing array subsections, a newbie question. Newsgroups: comp.lang.ada Date: Mon, 14 Jun 2010 19:54:29 -0400 References: <4c13db30$0$2391$4d3efbfe@news.sover.net> User-Agent: KNode/0.10.9 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Organization: SoVerNet (sover.net) NNTP-Posting-Host: 5bb0a032.news.sover.net X-Trace: DXC=0G8?=Zbg_DNoV<7HGJPfoNK6_LM2JZB_C6Td3Ma?dEgN:WUUlR<856O7J]W<]Yo92Ga?j;n:o:aHH X-Complaints-To: abuse@sover.net Xref: g2news1.google.com comp.lang.ada:11735 Date: 2010-06-14T19:54:29-04:00 List-Id: Simon Wright wrote: > Colin Paul Gloster writes: > >> I really do not approve of the names Index_Fst and Index_Lst. > > Quite agree. What's wrong with First and Last? (or even if it wasn't > obvious already Index_First, Index_Last). 'First' and 'Last' are reserved by SPARK as FDL identifiers. Similarly 'Start' and 'Finish' are reserved by SPARK. Obviously 'Begin' and 'End' is not going to work either since they are reserved by Ada. So while I rather dislike 'Fst' and 'Lst' I found it awkward finding a suitable matched pair of names that would otherwise convey my intention. In my actual program the index variables are named differently than in my example anyway. However, I admit that I have used 'Fst' and 'Lst' at times in my code since I couldn't think of anything else that wasn't reserved. I probably lack imagination. Peter