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!g47g2000cwa.googlegroups.com!not-for-mail From: "isaac2004" Newsgroups: comp.lang.ada Subject: Re: creating an array Date: 15 Feb 2006 08:23:36 -0800 Organization: http://groups.google.com Message-ID: <1140020616.877141.164270@g47g2000cwa.googlegroups.com> References: <1139897171.996297.230070@z14g2000cwz.googlegroups.com> <14iyyw73rt5i8$.1fkeh9i1mlj3e$.dlg@40tude.net> NNTP-Posting-Host: 67.170.5.168 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1140020625 31332 127.0.0.1 (15 Feb 2006 16:23:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 15 Feb 2006 16:23:45 +0000 (UTC) In-Reply-To: <14iyyw73rt5i8$.1fkeh9i1mlj3e$.dlg@40tude.net> 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: g47g2000cwa.googlegroups.com; posting-host=67.170.5.168; posting-account=bWy1LAwAAAAtVkasDCH0ykMCBMNd-FcL Xref: g2news1.google.com comp.lang.ada:2909 Date: 2006-02-15T08:23:36-08:00 List-Id: >Quick and dirty just to get it running: Correct the spelling error: end if; -> end loop; you have to instantiate the Ada.Text_IO.Integer_IO: package Anders is new Ada.Text_IO.Integer_IO (Integer); and then use your new package: Anders.Get (Expected_Number_Of_Digits); If the operator "not" is not defined, change the if statement to: if ... then null; else ...; end if; this whole program throws flags up everywhere in Adagide, undefined varibles and misuse of packages. i dont know where to start on how to fix it. thanks though