From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: SEQUENTIA_IO and stdin/stdout (Standard_Input, Standard_Output)
Date: 14 Oct 2003 17:11:13 -0600
Date: 2003-10-14T17:11:13-06:00 [thread overview]
Message-ID: <U60fIlEG7v2v@eisner.encompasserve.org> (raw)
In-Reply-To: mailman.80.1066149976.25614.comp.lang.ada@ada-france.org
In article <mailman.80.1066149976.25614.comp.lang.ada@ada-france.org>, Marius Amado Alves <amado.alves@netcabo.pt> writes:
> On Tue, 2003-10-14 at 14:29, Larry Kilgallen wrote:
>> > I came from C world and brought the question: how I can open stdin or
>> > stdout as a SEQUENTIAL file?
>>
>> Parameterless function Text_IO.Standard_Input returns a value of File_Type.
>>
>> Function Text_IO.Name takes a value of File_Type as a parameter and returns
>> the name of the corresponding file.
>
> 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.
Why not ? What error do you get ?
next prev parent reply other threads:[~2003-10-14 23:11 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
2003-10-14 23:11 ` Larry Kilgallen [this message]
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