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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,223570f8a5a85f0a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: unbound array? Date: Mon, 26 Jul 2004 13:37:16 +0200 Organization: AdaCL Message-ID: <1430823.RMeWU0tm2O@linux1.krischik.com> References: <41046a70@dnews.tpgi.com.au> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1090843262 00 9619 tcMOXAI6Devq1-p 040726 12:01:02 X-Complaints-To: usenet-abuse@t-online.de X-ID: ZB1xciZ1Ze6UosC+5xMIoyE3CdLZOhCT+wRjGW7oQEPfszD8AVn0Ux User-Agent: KNode/0.7.7 Xref: g2news1.google.com comp.lang.ada:2396 Date: 2004-07-26T13:37:16+02:00 List-Id: John Clarke wrote: > Hello! > > I was hoping someone could shed some light. I am writing an ADA program > that reads a file and counts the number of words in the text file and > stores the word length, of each word encountered, in an array. So for > instance i have defined: > How can this problem be solved? Any help would be great. If it is not teaching then I suggest to use a container library. See www.adaworld.com for a nice collection of different container libs. If it is teaching: Still get a container lib and look how they solved the problem ;-). With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com