comp.lang.ada
 help / color / mirror / Atom feed
From: "Larry J. Elmore" <GLE5989@trex2.oscs.montana.edu>
Subject: Re: Exceptions: Are they GOTOs?
Date: 1996/07/19
Date: 1996-07-19T00:00:00+00:00	[thread overview]
Message-ID: <Pine.VMS.3.91-vms-b4.960719091035.2181A-100000@trex2.oscs.montana.edu> (raw)
In-Reply-To: dewar.837727435@schonberg


On 18 Jul 1996, Robert Dewar wrote:

> Robert Dunn said
> 
> "Second.  Can we kill this thread?  It is getting rather redundant.
> To answer the question as to exception=goto is simple.
> Does execution resume at the statement after the statement on which
> the exception occured (was raised)?  If it does, then exception<>goto.
> If it does not then exception=goto."
> 
> A fascinating definition, by which if statements, while statements etc
> are all gotos!
> 
> Robert, you are free to define things anyway you want, but if you want to
> use a really bizarre and unusual definition like this (any change in flow
> of control is a goto), then you sure need to make clear that you are using
> this word very differently from anyone else.

Actually, I think Robert Dunn is right, technically. All the control 
statements are essentially a structured set of comparisons and gotos at 
the assembly language level, including exceptions. 

-- Larry J. Elmore, Sophomore, Computer Science, Montana State University    --
-- gle5989@trex2.oscs.montana.edu                                            --
-- "The said Constitution shall never be construed to authorize Congress to  --
--  prevent the people of the United States who are peaceable citizens from  --
--  keeping their own arms." -- Samuel Adams                                 --
-- "The great object is that every man be armed. Everyone who is able may    --
--  have a gun." -- Patrick Henry                                            --
-- Si vis pacem, para bellum.                                                --





  reply	other threads:[~1996-07-19  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11  0:00 Exceptions: Are they GOTOs? Bradley Edelman
1996-07-11  0:00 ` Robert A Duff
1996-07-11  0:00 ` Michel Gauthier
1996-07-12  0:00 ` Spasmo
1996-07-12  0:00   ` David Morton
1996-07-14  0:00   ` Robert Dewar
1996-07-17  0:00     ` Spasmo
1996-07-18  0:00       ` Walter B. Hollman Sr.
1996-07-20  0:00         ` Robert Dewar
1996-07-12  0:00 ` steved
1996-07-13  0:00   ` Michael Feldman
1996-07-16  0:00   ` Robert I. Eachus
1996-07-19  0:00     ` Michel Gauthier
1996-07-18  0:00   ` Robert Dunn
1996-07-18  0:00     ` Robert Dewar
1996-07-19  0:00       ` Larry J. Elmore [this message]
1996-07-20  0:00         ` Andy Askey
1996-07-13  0:00 ` Robert Dewar
1996-07-14  0:00 ` Andy Askey
1996-07-14  0:00   ` Robert Dewar
1996-07-14  0:00   ` Laurent Guerby
1996-07-15  0:00     ` Andy Askey
1996-07-15  0:00       ` Robert Dewar
1996-07-15  0:00 ` OS2 User
1996-07-16  0:00 ` Michel Gauthier
1996-07-17  0:00 ` Michel Gauthier
replies disabled

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