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-7-bit X-Google-Thread: 103376,819faa6c1dfaa502 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-07 12:36:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Array help needed.. Date: Tue, 7 May 2002 19:36:41 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1020800201 19780 129.241.83.78 (7 May 2002 19:36:41 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 7 May 2002 19:36:41 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:23670 Date: 2002-05-07T19:36:41+00:00 List-Id: On 7 May 2002 10:12:08 -0700, devine wrote: > Hi. Kinda of a newbie to ada. I have a array setup into which I want > to put words. I keep getting a standard.integer error for this line: You are putting characters by the look of it. > Ada.Text_IO.Put(Item => Found(Word)), can someone please explain why I > am getting that error and how I can fix it? I excluded the open file > code. Because Word is not an integer. You have defined Found to be a String(1..10), but Word is an array of characters. But I really don't understand your code or what you try to do. Is this an assignment? Preben