comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Re: Array help needed..
Date: Tue, 7 May 2002 18:21:05 +0100
Date: 2002-05-07T18:21:05+01:00	[thread overview]
Message-ID: <q2UB8.2388$0h6.103576@newsfep1-win.server.ntli.net> (raw)
In-Reply-To: e6a474c.0205070912.49f26224@posting.google.com


"devine" <devine@linuxmail.org> 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







  reply	other threads:[~2002-05-07 17:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07 17:12 Array help needed devine
2002-05-07 17:21 ` chris.danx [this message]
2002-05-07 19:36 ` Preben Randhol
2002-05-08  1:52 ` devine
2002-05-08  9:39   ` David C. Hoos, Sr.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox