From: "Christoph Karl Walter Grein" <AdaMagica@web.de>
To: comp.lang.ada@ada-france.org
Subject: Re: Parameter return when exceptions occur
Date: Fri, 29 Oct 2004 10:41:58 +0200
Date: 2004-10-29T10:41:58+02:00 [thread overview]
Message-ID: <mailman.68.1099039361.10401.comp.lang.ada@ada-france.org> (raw)
> > Question: when the End_Error exception occurs, is anything known
> > about the value of the parameters to Get_Line? Does the procedure
> > still return meaningful values?
> >
> > I suspect it is compiler dependent, since I didn't manage to find any
> > explanation in the LRM.
>
> If a subprogram raises an exception you can assume /nothing/ about
> the contents of the returning values.
In fact, there even isn't a returned value since you "return" to a different place:
the exception handler (if any).
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201
next reply other threads:[~2004-10-29 8:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-29 8:41 Christoph Karl Walter Grein [this message]
2004-10-29 8:59 ` Parameter return when exceptions occur Martin Dowie
-- strict thread matches above, loose matches on Subject: below --
2004-10-29 3:02 Steve
2004-10-29 8:20 ` Martin Dowie
2004-10-31 14:47 ` Matthew Heaney
2004-11-01 1:19 ` Steve
2004-11-01 4:11 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox