comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve" <nospam_steved94@comcast.net>
Subject: Parameter return when exceptions occur
Date: Fri, 29 Oct 2004 03:02:02 GMT
Date: 2004-10-29T03:02:02+00:00	[thread overview]
Message-ID: <Goigd.324035$MQ5.102523@attbi_s52> (raw)

The "variable lenght strings thread" has touched on the case of using
Ada.Text_Io.Get_Line with a string on the last line of a file that does not
contain a file terminator.  In this case an End_Error exception is raised.

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.

Steve
(The Duck)





             reply	other threads:[~2004-10-29  3:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-29  3:02 Steve [this message]
2004-10-29  8:20 ` Parameter return when exceptions occur Martin Dowie
2004-10-31 14:47   ` Matthew Heaney
2004-11-01  1:19     ` Steve
2004-11-01  4:11       ` Jeffrey Carter
  -- strict thread matches above, loose matches on Subject: below --
2004-10-29  8:41 Christoph Karl Walter Grein
2004-10-29  8:59 ` Martin Dowie
replies disabled

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