comp.lang.ada
 help / color / mirror / Atom feed
* Incompatible type error handling
@ 2001-12-10 21:52 Ben
  2001-12-10 22:24 ` Mark Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ben @ 2001-12-10 21:52 UTC (permalink / raw)


Hi,

I am new to Ada and the instruction book I found is not really helpful
in explaining how to handle errors of unmatching types. For example,
one of the sample problems the book has me do it a simple calculator
made to work with real values. Say I programmed it to work only with
integers, yet I enter  a real number. That will cause a problem,
right?  Is the error handling automatic in Ada, or do I need to code
something in. So far I have been unsuccessful at finding example code
and instructions on how to do this.

Thanks,
Ben



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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-10 21:52 Incompatible type error handling Ben
2001-12-10 22:24 ` Mark Johnson
2001-12-10 23:03 ` Mark Lundquist
2001-12-11  3:19 ` Steve Doiel

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