comp.lang.ada
 help / color / mirror / Atom feed
From: cptnben@gisco.net (Ben)
Subject: Incompatible type error handling
Date: 10 Dec 2001 13:52:46 -0800
Date: 2001-12-10T21:52:46+00:00	[thread overview]
Message-ID: <bf8dbe70.0112101352.20a3d257@posting.google.com> (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



             reply	other threads:[~2001-12-10 21:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10 21:52 Ben [this message]
2001-12-10 22:24 ` Incompatible type error handling Mark Johnson
2001-12-10 23:03 ` Mark Lundquist
2001-12-11  3:19 ` Steve Doiel
replies disabled

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