comp.lang.ada
 help / color / mirror / Atom feed
* Error checking for type incompatibility
@ 2001-12-11  0:28 Ben
  2001-12-11  0:49 ` Mark Lundquist
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ben @ 2001-12-11  0:28 UTC (permalink / raw)


Hi, 
I am new to Ada. I decided I would try to learn a new language and Ada
seemed like a fun project. I got a few books, and one of them has
challenge problem where I am supposed to do some error checking on
input. This includes checking to make sure that the input type is
correct. More specifically: the program is supposed to accept only
integer values. So I need to be able to have an error handler that
will recognize if someone tries to enter a noninteger value and ask
them to re-enter a correct value. Since this is a "challenge problem"
they are not giving me alot to work on here. I checked another book,
and it had some examples on error handling, but not at the level I
need. And neither book had any example code that was helpful.
Remember, I'm new to Ada (from the C++ world) so packages are new to
me. What do I need folks. Your help is greatly appreciated.

Thanks,
Ben



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

end of thread, other threads:[~2001-12-11 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-11  0:28 Error checking for type incompatibility Ben
2001-12-11  0:49 ` Mark Lundquist
2001-12-11  7:35 ` Preben Randhol
2001-12-11 16:31 ` Jerry Petrey

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