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,df40d0d1975a16a6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-13 07:38:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Optimizing Boundary Checks Date: Fri, 13 Jun 2003 14:37:50 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-132-7-222.in-addr.btopenworld.com X-Trace: sparta.btinternet.com 1055515070 26011 81.132.7.222 (13 Jun 2003 14:37:50 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 13 Jun 2003 14:37:50 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal X-Priority: 3 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:39119 Date: 2003-06-13T14:37:50+00:00 List-Id: "Vinzent Hoefler" wrote in message news:bcckq8$i67ah$1@ID-175126.news.dfncis.de... > > for I in My_Array'Range loop [snip] > This I find interesting. (Of course, assuming that My_Type is the > Index type of My_Array). Yes it is. I've always tended to use this form anyway, as it copes with the (unlikely) case where the index type changing or (even more unlikely case of) the array type changing!