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 10:21:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newspeer.clara.net!news.clara.net!news2.euro.net!newsfeed.vmunix.org!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: Subject: Re: Array help needed.. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Tue, 7 May 2002 18:21:05 +0100 NNTP-Posting-Host: 213.107.24.115 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep1-win.server.ntli.net 1020792086 213.107.24.115 (Tue, 07 May 2002 18:21:26 BST) NNTP-Posting-Date: Tue, 07 May 2002 18:21:26 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:23657 Date: 2002-05-07T18:21:05+01:00 List-Id: "devine" wrote in message news:e6a474c.0205070912.49f26224@posting.google.com... > 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: > 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. Found is an string of characters indexed by integers, right? What you've done is to try to use Word as an index which is an array of characters, not an integer hence the message. What are you trying to do? Chris