From: vlc <just.another.spam.account@googlemail.com>
Subject: Re: writing on terminal before an exception
Date: Mon, 3 Aug 2009 13:40:27 -0700 (PDT)
Date: 2009-08-03T13:40:27-07:00 [thread overview]
Message-ID: <9bf5d23b-ae1c-48aa-b23e-7c716c6eba29@k1g2000yqf.googlegroups.com> (raw)
In-Reply-To: h54jff$977$1@news.newsland.it
On Aug 2, 7:47 pm, mf...@yahoo.com (Mark Fabbri) wrote:
> i have a problem with text_io and exception:
>
> Text_IO.Put ("No SH3 data.");
> Text_IO.New_Line;
> raise Sh3_NoData;
>
> if it raise an exception, the string "NO SH3 data" is not displayed. it
> seems that the text_io don't actually print on screen. i also tryed with
> text_io.flush after the New_Line, but nothing happens.
>
Have you already considered something like
raise Sh3_NoData with "No SH3 data.";
I'm not absolutely sure, but I think this will only compile in Ada
2005.
Cheers!
next prev parent reply other threads:[~2009-08-03 20:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 17:47 writing on terminal before an exception Mark Fabbri
2009-08-03 1:13 ` Yannick Duchêne Hibou57
2009-08-03 6:39 ` Stephen Leake
2009-08-03 20:40 ` vlc [this message]
2009-08-03 22:29 ` Yannick Duchêne Hibou57
2009-08-04 0:14 ` Adam Beneschan
2009-08-04 1:07 ` stefan-lucks
2009-08-04 20:18 ` Mark Fabbri
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox