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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9ae5f4553aae9277 X-Google-Attributes: gid103376,public From: mheaney@ni.net (Matthew Heaney) Subject: Re: What's wrong with this syntax? Date: 1996/12/15 Message-ID: #1/1 X-Deja-AN: 204344885 references: <32A6FE0F.7902@lmtas.lmco.com> <587aul$hrd@zeus.orl.mmc.com> <32B49811.4C8@acm.org> content-type: text/plain; charset=ISO-8859-1 organization: Estormza Software mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-12-15T00:00:00+00:00 List-Id: In article <32B49811.4C8@acm.org>, geneo@acm.org wrote: > Some_Limit : Constant := 1024; > ... > for i in 1..(Some_Limit - 2) loop As Robert Dewar pointed out, it's best to explicitly name the type of the loop index if you use the loop index to dereference an array, etc for I in Positive range 1 .. Some_Limit - 2 loop -------------------------------------------------------------------- Matthew Heaney Software Development Consultant mheaney@ni.net (818) 985-1271