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-Thread: 103376,da5197b9dca0ed40 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Processing array subsections, a newbie question. Date: Wed, 16 Jun 2010 22:03:33 +0300 Organization: Tidorum Ltd Message-ID: <87slg5Fg6nU1@mid.individual.net> References: <4c13db30$0$2391$4d3efbfe@news.sover.net> <8739wsottd.fsf@ludovic-brenta.org> <87jc41FftrU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 0nF5oPcjS163rEYkzMkcqAHjsc7HYpouwOqUjISE8zcHAm1+ZR Cancel-Lock: sha1:dZOMSWlKEN7eNllkVu+g1xmksOE= User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:12758 Date: 2010-06-16T22:03:33+03:00 List-Id: Jeffrey R. Carter wrote: > Niklas Holsti wrote: >>... >> exit when Index_Fst >= Buffer'Last; > ... > > So it looks to me as if the correct test is > > exit when Index_Lst [>]= Buffer'Last; I agree. As too often happens, I was reading (and copying) what I expected to see, and not what was actually written. Five strokes of the lash for me... -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .