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,711b9e86dd6927b9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-14 04:10:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3DD3846B.7EADD25C@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Charles: missing vector iterators References: <3dd29387$0$303$bed64819@news.gradwell.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 14 Nov 2002 12:10:24 GMT NNTP-Posting-Host: 63.189.225.152 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1037275824 63.189.225.152 (Thu, 14 Nov 2002 04:10:24 PST) NNTP-Posting-Date: Thu, 14 Nov 2002 04:10:24 PST Xref: archiver1.google.com comp.lang.ada:30865 Date: 2002-11-14T12:10:24+00:00 List-Id: Victor Porton wrote: > > In enclosed loops: > > for i in ... loop > for j in ... loop > ... > end loop; > end loop; > > personally I often mess I and J. Probability to mess iterators is > lesser than to mess natural number indexes because iterators are more > type-safe. You can't mess with I and J inside a loop like this. They're effectively constants as far as the enclosed statements are concerned. Marc A. Criley Quadrus Corporation www.quadruscorp.com