comp.lang.ada
 help / color / mirror / Atom feed
* Interactivity Question
@ 2002-03-14  3:29 Casey Jones
  2002-03-14  6:32 ` Jeffrey Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Casey Jones @ 2002-03-14  3:29 UTC (permalink / raw)



I'm currently writing a program whereby the final product will allow the
user to input his/her information.  One of the questions asked to the
user is "No. of sizes wanted:" but when I run the program and input my
number of sizes wanted I get the error:

raised ADA.IO_EXCEPTIONS.DATA_ERROR : a-tienio.adb:61 instantiated at
file.adb:29

So from this I know there is something wrong with my code in regards to
the acceptance of input for the no. of sizes wanted.  I've tried a few
different things: instantsiation, Min_Value Max_Value, etc. but nothing
seems to work.

(BTW, I am using Ada95 on Windows 98....)

Your help is greatly needed, thank you.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Interactivity Question
@ 2002-03-14  6:15 Christoph Grein
  2002-03-14  6:24 ` Casey Jones
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Grein @ 2002-03-14  6:15 UTC (permalink / raw)


> raised ADA.IO_EXCEPTIONS.DATA_ERROR : a-tienio.adb:61 instantiated at
> file.adb:29
> 

From what you give as information, it's hard to provide an answer. a-tienio is 
Ada.Text_IO.Enumeration_IO I guess, so you presumably input a string that cannot 
be evaluated as a value of the enumeration type you used to instantiate the 
generic.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Interactivity Question
  2002-03-14  6:15 Interactivity Question Christoph Grein
@ 2002-03-14  6:24 ` Casey Jones
  0 siblings, 0 replies; 7+ messages in thread
From: Casey Jones @ 2002-03-14  6:24 UTC (permalink / raw)



Christoph Grein <christoph.grein@eurocopter.com> wrote:
>> raised ADA.IO_EXCEPTIONS.DATA_ERROR : a-tienio.adb:61 instantiated at
>> file.adb:29
>> 
>
>From what you give as information, it's hard to provide an answer. a-tienio is 
>Ada.Text_IO.Enumeration_IO I guess, so you presumably input a string that cannot 
>be evaluated as a value of the enumeration type you used to instantiate the 
>generic.

Thanks for your answer, you are right it is enumeration.
But I have fixed the problem now, so I'm okay!
Thank you.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Interactivity Question
  2002-03-14  3:29 Casey Jones
@ 2002-03-14  6:32 ` Jeffrey Carter
  2002-03-14 10:06 ` Casey Jones
  2002-03-14 10:06 ` Casey Jones
  2 siblings, 0 replies; 7+ messages in thread
From: Jeffrey Carter @ 2002-03-14  6:32 UTC (permalink / raw)


What you are doing wrong is not giving us enough information to help
you.

-- 
Jeff Carter
"You tiny-brained wipers of other people's bottoms!"
Monty Python & the Holy Grail



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Interactivity Question
  2002-03-14  3:29 Casey Jones
  2002-03-14  6:32 ` Jeffrey Carter
@ 2002-03-14 10:06 ` Casey Jones
  2002-03-14 10:38   ` John McCabe
  2002-03-14 10:06 ` Casey Jones
  2 siblings, 1 reply; 7+ messages in thread
From: Casey Jones @ 2002-03-14 10:06 UTC (permalink / raw)



Jeffrey Carter <jrcarter@acm.org> wrote:
>What you are doing wrong is not giving us enough information to help
>you.

I understand that now. Don't worry I figured out the solution by
myself so I'm okay. Now I have gained more experience by helping
myself out instead of relying on others.  Bye!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Interactivity Question
  2002-03-14  3:29 Casey Jones
  2002-03-14  6:32 ` Jeffrey Carter
  2002-03-14 10:06 ` Casey Jones
@ 2002-03-14 10:06 ` Casey Jones
  2 siblings, 0 replies; 7+ messages in thread
From: Casey Jones @ 2002-03-14 10:06 UTC (permalink / raw)



Jeffrey Carter <jrcarter@acm.org> wrote:
>What you are doing wrong is not giving us enough information to help
>you.

I understand that now. Don't worry I figured out the solution by
myself so I'm okay. Now I have gained more experience by helping
myself out instead of relying on others.  Bye!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Interactivity Question
  2002-03-14 10:06 ` Casey Jones
@ 2002-03-14 10:38   ` John McCabe
  0 siblings, 0 replies; 7+ messages in thread
From: John McCabe @ 2002-03-14 10:38 UTC (permalink / raw)


On 14 Mar 2002 10:06:15 GMT, "Casey Jones" <cas@cas.com> wrote:

>
>Jeffrey Carter <jrcarter@acm.org> wrote:
>>What you are doing wrong is not giving us enough information to help
>>you.
>
>I understand that now. Don't worry I figured out the solution by
>myself so I'm okay. Now I have gained more experience by helping
>myself out instead of relying on others.  Bye!

It may help others out if you actually explained what the problem had
been and how you solved it.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-03-14 10:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-14  6:15 Interactivity Question Christoph Grein
2002-03-14  6:24 ` Casey Jones
  -- strict thread matches above, loose matches on Subject: below --
2002-03-14  3:29 Casey Jones
2002-03-14  6:32 ` Jeffrey Carter
2002-03-14 10:06 ` Casey Jones
2002-03-14 10:38   ` John McCabe
2002-03-14 10:06 ` Casey Jones

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