From: "Gautier Write-only-address" <gautier_niouzes@hotmail.com>
Subject: Re: Getting Information already displayed on terminal window
Date: Thu, 18 Apr 2002 22:04:37 +0000
Date: 2002-04-18T22:04:37+00:00 [thread overview]
Message-ID: <mailman.1019167503.20299.comp.lang.ada@ada.eu.org> (raw)
"Peter Hermann":
> > In AdaGIDE, the "standard output"(!) can be redirected to a file.
> > you set the "run options" to one the following choices:
> > -- output to screen
> > -- output to file
> > -- both
"Fraz":
>yeah i know, but there must be a way to build this into the
>program so that if i run the exe outside of ada gide it creates
>the file as well??
To obtain simultaneously the output on "standard output" and
a file the best way is to use Dual_IO whose interface mimicks
[Ada.]Text_IO (83 and 95 versions) but has the desired effect.
I use it e.g. on the same program under OpenVMS and Windows.
See paqs.zip @
http://www.mysunrise.ch/users/gdm/gsoft.htm
HTH
____________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm#Ada
NB: For a direct answer, address on the Web site!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
next reply other threads:[~2002-04-18 22:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-18 22:04 Gautier Write-only-address [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-17 23:09 Getting Information already displayed on terminal window Fraz
2002-04-18 8:51 ` Peter Hermann
2002-04-18 11:32 ` Fraz
2002-04-18 13:58 ` Mark Johnson
2002-04-18 19:07 ` Stephen Leake
2002-04-19 7:06 ` Alfred Hilscher
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox