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,2ac407a2a34565a9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.204.156.210 with SMTP id y18mr1771033bkw.7.1330502428981; Wed, 29 Feb 2012 00:00:28 -0800 (PST) Path: t13ni82680bkb.0!nntp.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Array Help? Date: Wed, 29 Feb 2012 08:00:27 +0000 Organization: A noiseless patient Spider Message-ID: References: <10615783-d4a9-4cbd-8971-53ba1100d6a0@b18g2000vbz.googlegroups.com> <168f5d8c-8a63-40aa-b0a8-378ab8003416@t16g2000yqt.googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="8585"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0n39jFriaJh6+tkfB8rBO621cL9Dllko=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:n9AyI8HMTHu0DnD+KoYPtUc3Ol4= sha1:b/wrcPQ7kEZFkkN0YigluUJVc7w= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2012-02-29T08:00:27+00:00 List-Id: Adam Beneschan writes: > On Feb 28, 1:33 pm, Simon Wright wrote: >>    for J in A'Range loop >>       declare >>          Decimal_Units : constant Natural := abs (A (J) mod 10); > > If this is a school assignment, then F for you. :) OK, B-, since you > almost got it right, so I'll give you part credit. :blush: All these years and I still only know enough to realise there's a problem and go off to the ARM to check. I certainly haven't had to solve a problem like this IRL often enough for it to sink in.