comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Re: SEQUENTIA_IO and stdin/stdout (Standard_Input, Standard_Output)
Date: Tue, 14 Oct 2003 20:36:26 GMT
Date: 2003-10-14T20:36:26+00:00	[thread overview]
Message-ID: <3F8C5E44.3080403@comcast.net> (raw)
In-Reply-To: mailman.80.1066149976.25614.comp.lang.ada@ada-france.org

Marius Amado Alves wrote:

> Are you suggesting the trick of finding out the name of Standard_Output
> (say) and then open a sequential file with that name? Sounds clever, but
> unfortunately it doesn't work. See my previous reply (actually a
> forward) for a 'proper' solution to this problem.

Technically, it may or may not work.  For example, Standard_Output could 
be assigned to a file on the command line when running the program. Then 
  Standard_Output could be closed, and the file reopened by name in 
Sequential_IO.  But agreed, using Streams is the way to go.

-- 
                                                     Robert I. Eachus

"Quality is the Buddha. Quality is scientific reality. Quality is the 
goal of Art. It remains to work these concepts into a practical, 
down-to-earth context, and for this there is nothing more practical or 
down-to-earth than what I have been talking about all along...the repair 
of an old motorcycle."  -- from Zen and the Art of Motorcycle 
Maintenance by Robert Pirsig




  reply	other threads:[~2003-10-14 20:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14 12:44 SEQUENTIA_IO and stdin/stdout Lo Shu
2003-10-14 14:29 ` SEQUENTIA_IO and stdin/stdout (Standard_Input, Standard_Output) Larry Kilgallen
2003-10-14 16:45   ` Marius Amado Alves
2003-10-14 20:36     ` Robert I. Eachus [this message]
2003-10-14 23:11     ` Larry Kilgallen
2003-10-14 23:11       ` Marius Amado Alves
2003-10-15  4:32         ` Larry Kilgallen
2003-10-15 17:23           ` Marius Amado Alves
2003-10-17 13:41             ` Frank J. Lhota
replies disabled

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