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

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  3:29 Interactivity Question 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
  -- strict thread matches above, loose matches on Subject: below --
2002-03-14  6:15 Christoph Grein
2002-03-14  6:24 ` Casey Jones

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