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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3f1374bc66d2dc03 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "isaac2004" Newsgroups: comp.lang.ada Subject: Re: creating an array Date: 14 Feb 2006 15:37:49 -0800 Organization: http://groups.google.com Message-ID: <1139960269.338824.166090@g14g2000cwa.googlegroups.com> References: <1139897171.996297.230070@z14g2000cwz.googlegroups.com> <1139951664.264622.240870@z14g2000cwz.googlegroups.com> <1139955455.397334.310790@g43g2000cwa.googlegroups.com> <878xsd8sqq.fsf@ludovic-brenta.org> <1139957691.430522.159580@o13g2000cwo.googlegroups.com> <874q318rkd.fsf@ludovic-brenta.org> NNTP-Posting-Host: 67.170.5.168 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1139960281 18346 127.0.0.1 (14 Feb 2006 23:38:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 14 Feb 2006 23:38:01 +0000 (UTC) In-Reply-To: <874q318rkd.fsf@ludovic-brenta.org> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=67.170.5.168; posting-account=bWy1LAwAAAAtVkasDCH0ykMCBMNd-FcL Xref: g2news1.google.com comp.lang.ada:2899 Date: 2006-02-14T15:37:49-08:00 List-Id: >If that's any help, you can convert a number to an array by working backwards; units first, then tens, then hundreds etc. This should get you going: thanx jus thave to match varible names and such >But I still think my solution is much, much better :) sorry havent learned that far yet, but i cant seem to get your code to work by itself, it throws a error about a loop where the first if statement is. oh well it wasnt tested but i would like ot see a running program of that if possible. happy coding !