comp.lang.ada
 help / color / mirror / Atom feed
From: "Tarjei Tj�stheim Jensen" <tarjei.jensen@kvaerner.no>
Subject: Re: About to give up...
Date: 1998/08/07
Date: 1998-08-07T00:00:00+00:00	[thread overview]
Message-ID: <6qem93$gg3@news.kvaerner.com> (raw)
In-Reply-To: 6qc8rf$cbo$1@nnrp1.dejanews.com


Oliver.Kelloggwrote :
>I once did a Terminal_IO package  (with procedures like
>Put_At (Row,Col, Text)) where the underlying system calls
>were functions that always returned a success/error status.
>Since this is not usually interesting, I introduced a body-global
>status flag and a function in the Terminal_IO package spec,
>Get_Last_Status. That way I could turn the Terminal_IO
>user level functions into procedures, and one could call
>Get_Last_Status for finding out the status of the last call if
>need be.


I thought that this is the problems exception was intended to solve. If the low
level routine discovers an error, then throw an exception. What could be
easier?


Greetings,








  reply	other threads:[~1998-08-07  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-06  0:00 About to give up i96danma
1998-08-06  0:00 ` Oliver.Kellogg
1998-08-07  0:00   ` Tarjei Tj�stheim Jensen [this message]
1998-08-06  0:00 ` Dale Stanbrough
1998-08-06  0:00   ` Peter Amey
1998-08-06  0:00     ` Tom Moran
  -- strict thread matches above, loose matches on Subject: below --
1998-08-06  0:00 i96danma
1998-08-06  0:00 ` dennison
1998-08-07  0:00   ` i96danma
1998-08-07  0:00     ` Robert Dewar
1998-08-08  0:00       ` Dan Mattsson
1998-09-05  0:00         ` Tom Moran
1998-08-08  0:00       ` Matthew Heaney
1998-08-08  0:00         ` Robert Dewar
1998-08-08  0:00           ` Matthew Heaney
1998-08-06  0:00 ` Robert Dewar
1998-08-08  0:00   ` Dan Mattsson
1998-08-10  0:00     ` Robert Dewar
1998-08-16  0:00 Robert Dewar
replies disabled

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