From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: Array help needed..
Date: Tue, 7 May 2002 19:36:41 +0000 (UTC)
Date: 2002-05-07T19:36:41+00:00 [thread overview]
Message-ID: <slrnadgb5r.c0c.randhol+abuse@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: e6a474c.0205070912.49f26224@posting.google.com
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
next prev parent reply other threads:[~2002-05-07 19:36 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
2002-05-07 19:36 ` Preben Randhol [this message]
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