From: Vincent Smeets <smeets@cci.de>
Subject: Re: Help with Exceptions!
Date: 1996/05/07
Date: 1996-05-07T00:00:00+00:00 [thread overview]
Message-ID: <318F2CFD.4B48@cci.de> (raw)
In-Reply-To: 4mmimq$s4r@hatathli.csulb.edu
Robert Gelb wrote:
>
> procedure test is
> x:integer;
> begin
> x:=10000000;
> x:=3;
> exception
> when CONSTRAINT_ERROR=>
> put("Error");
> --how can I go back to 'x:=3' statement
> end test;
>
with Text_IO;
procedure Test is
X : Integer;
begin
begin
X := 10000000;
exception
when Constraint_Error =>
Text_IO.Put_Line ("Error");
end;
X := 3;
end Test;
-- Vincent Smeets Competence Center Informatik GmbH
-- Tel. : +49-5931-805461 Postfach 1225
-- Fax : +49-5931-842461 49702 Meppen, Germany
-- EMail: smeets@cci.de http://www.cci.de/
next prev parent reply other threads:[~1996-05-07 0:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-07 0:00 Help with Exceptions! Robert Gelb
1996-05-07 0:00 ` Vincent Smeets [this message]
1996-05-07 0:00 ` Steve Howard
1996-05-07 0:00 ` Robert Dewar
[not found] ` <4mqio5$a8b@news.sanders.lockheed.com>
1996-05-09 0:00 ` Robert L. Spooner, AD3K
1996-05-10 0:00 ` Jon S Anthony
1996-05-10 0:00 ` Robert A Duff
1996-05-07 0:00 ` John Herro
[not found] ` <318F94D9.35AB@io.com>
1996-05-10 0:00 ` George F.Rice
1996-05-13 0:00 ` Dave Jones
1996-05-13 0:00 ` Robert I. Eachus
1996-05-14 0:00 ` John Herro
1996-05-14 0:00 ` Robert I. Eachus
1996-05-14 0:00 ` Theodore E. Dennison
1996-05-14 0:00 ` Robert A Duff
1996-05-14 0:00 ` Michel Gauthier
1996-05-14 0:00 ` Robert A Duff
1996-05-15 0:00 ` Norman H. Cohen
1996-05-15 0:00 ` Robert A Duff
1996-05-15 0:00 ` Michel Gauthier
1996-05-16 0:00 ` Jon S Anthony
1996-05-16 0:00 ` Jon S Anthony
1996-05-16 0:00 ` Robert A Duff
-- strict thread matches above, loose matches on Subject: below --
1996-05-09 0:00 tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox