comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Defaulting to Standard_Output
Date: Fri, 24 Oct 2008 00:16:35 GMT
Date: 2008-10-24T00:16:35+00:00	[thread overview]
Message-ID: <Dt8Mk.402515$yE1.237583@attbi_s21> (raw)
In-Reply-To: <de5a5558-106c-47bd-8eef-bc99abe27b4f@l33g2000pri.googlegroups.com>

deadlyhead wrote:
> 
> If anybody has a better way of handling defaulting to Standard_Output,
> I'd like to see it.  This works for me, and seems elegant enough.  It
> avoids a lot of messy conditionals in the body, anyway.

This is what Ada.Text_IO.Set_Output is for.

-- 
Jeff Carter
"When danger reared its ugly head, he bravely
turned his tail and fled."
Monty Python and the Holy Grail
60



  reply	other threads:[~2008-10-24  0:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 23:10 Defaulting to Standard_Output deadlyhead
2008-10-24  0:16 ` Jeffrey R. Carter [this message]
2008-10-24  1:14   ` deadlyhead
2008-10-24  1:49     ` Adam Beneschan
2008-10-24  2:57       ` deadlyhead
2008-10-24  3:57         ` Jeffrey R. Carter
2008-10-24  6:28           ` deadlyhead
replies disabled

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