From: Ken Garlington <garlingtonke@lmtas.lmco.com>
Subject: Re: Zoo question
Date: 1996/08/15
Date: 1996-08-15T00:00:00+00:00 [thread overview]
Message-ID: <321301EC.2C4D@lmtas.lmco.com> (raw)
In-Reply-To: 3212468B.2781E494@escmail.orl.mmc.com
Ted Dennison wrote:
>
> Ken Garlington wrote:
> >
> > Ted Dennison wrote:
> > >
> > > isn't guaranteed to work (assuming "work" means raise an execption within
> > > this block when Animal_ID'Succ(Next_Animal) > Animal_ID'last).
> >
> > Now, the question is: Even though the call to Animal_ID'Succ(Animal_ID'Last)
> > won't cause an exception (which I find very counter-intuitive, by the way),
> > will an exception be raised on the line that contains that call?
>
> Maybe, maybe not. I see three valid possibilities -
>
> 1 - It raises an exception at the assignment. (This is what the code
> seems to be assuming)
That certainly seems to be one of the options...
>
> 2 - No exception is ever raised (Constraint checking could be disabled
> for any number of reasons).
A valid point; for this example, assume that there's no pragma Suppress,
compiler switches, or other use actions applied that would disable checking.
>
> 3 - A CONSTRAINT_ERROR is raised OUTSIDE the block, upon the next attempt
> to use the value of Animal_ID. (That's is what I meant by "within this
> block" above).
Assuming no supresses, would there be a case where #1 would not apply (no
exception on assignment)?
--
LMTAS - "Our Brand Means Quality"
next prev parent reply other threads:[~1996-08-15 0:00 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-12 0:00 Zoo question Ken Garlington
1996-08-12 0:00 ` Chris Morgan
1996-08-13 0:00 ` Ken Garlington
1996-08-13 0:00 ` Ted Dennison
1996-08-14 0:00 ` Ken Garlington
1996-08-14 0:00 ` Ted Dennison
1996-08-15 0:00 ` Robert A Duff
1996-08-15 0:00 ` Ken Garlington [this message]
1996-08-18 0:00 ` Robert Dewar
1996-08-19 0:00 ` Ted Dennison
1996-08-19 0:00 ` Mark A Biggar
1996-08-20 0:00 ` Robert Dewar
1996-08-15 0:00 ` Robert Dewar
1996-08-15 0:00 ` Bob Gilbert
1996-08-19 0:00 ` Ted Dennison
1996-08-16 0:00 ` Ken Garlington
1996-08-19 0:00 ` Ted Dennison
1996-08-15 0:00 ` Keith Thompson
1996-08-14 0:00 ` Paul Hussein
1996-08-14 0:00 ` Bob Gilbert
1996-08-14 0:00 ` Ted Dennison
1996-08-14 0:00 ` Bob Gilbert
1996-08-14 0:00 ` Ted Dennison
1996-08-14 0:00 ` Bob Gilbert
1996-08-14 0:00 ` Ken Garlington
1996-08-15 0:00 ` Robert A Duff
1996-08-16 0:00 ` Bob Gilbert
1996-08-19 0:00 ` Ted Dennison
1996-08-25 0:00 ` Robert Dewar
1996-08-15 0:00 ` Robert I. Eachus
1996-08-15 0:00 ` John Herro
1996-08-16 0:00 ` Robert Dewar
1996-08-18 0:00 ` John Herro
1996-08-19 0:00 ` Ken Garlington
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox