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 Path: g2news2.google.com!postnews.google.com!l28g2000vba.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: unsigned type Date: Mon, 29 Jun 2009 01:42:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <59O1m.404661$4m1.69194@bgtnsc05-news.ops.worldnet.att.net> <36286c5a-99f0-4ed9-8ef0-11d7af230216@e21g2000yqb.googlegroups.com> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1246264953 9294 127.0.0.1 (29 Jun 2009 08:42:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 29 Jun 2009 08:42:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l28g2000vba.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6697 Date: 2009-06-29T01:42:31-07:00 List-Id: On Jun 29, 12:08=A0am, a...@anon.org (anon) wrote: > And as for Natural, well, that is the definition of a String's index and = in most > cases you use Naturals in "for loop' statements. Why would you do that? If you iterating over an array object (e.g. a String), you should use 'Range, e.g. for I in My_Array'Range loop -- whatever end loop; If you're just looping a certain number of times, you shouldn't need to say anything about type, e.g. for I in 1 .. 10 loop -- whatever end loop; Cheers -- Martin