Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site peora.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!petsd!peora!jer
From: jer@peora.UUCP (J. Eric Roskos)
Newsgroups: net.arch
Subject: Re: how to handle range checking
Message-ID: <1668@peora.UUCP>
Date: Tue, 24-Sep-85 07:57:14 EDT
Article-I.D.: peora.1668
Posted: Tue Sep 24 07:57:14 1985
Date-Received: Thu, 26-Sep-85 06:31:41 EDT
References: <796@kuling.UUCP> <2580002@csd2.UUCP> <191@graffiti.UUCP>
Organization: Perkin-Elmer SDC, Orlando, Fl.
Lines: 19

> What should the code do when a range-check occurs?  Print out an error
> message on ticker-tape & hang?  Do nothing?  A better analogy, perhaps,
> would be...

Well, since the example was MX missiles, I guess it should invoke the Ada
exception handler... the exception handler should then fix things up, and
continue execution... or run the "abort" procedures...

It's certainly better than having the missile overwrite some state variable
and go off course into a city somewhere because there was no checking.
-- 
Shyy-Anzr:  J. Eric Roskos
UUCP: Ofc:  ..!{decvax,ucbvax,ihnp4}!vax135!petsd!peora!jer
     Home:  ..!{decvax,ucbvax,ihnp4}!vax135!petsd!peora!jerpc!jer
  US Mail:  MS 795; Perkin-Elmer SDC;
	    2486 Sand Lake Road, Orlando, FL 32809-7642

	"Jryy, V qba'g guvax gung gur YBEQ zrnag hf gb rng puneerq png-
	 recvyynef, ab znggre jung pbaqvgvba bs fgvssarff gurl'er va!"