From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8180bee0588d30e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-14 15:11:16 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!tdsnet-transit!newspeer.tds.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: SEQUENTIA_IO and stdin/stdout (Standard_Input, Standard_Output) Date: 14 Oct 2003 17:11:13 -0600 Organization: LJK Software Message-ID: References: <55cccaab.0310140444.4ac20d7f@posting.google.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1066169433 10014 192.135.80.34 (14 Oct 2003 22:10:33 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 14 Oct 2003 22:10:33 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:863 Date: 2003-10-14T17:11:13-06:00 List-Id: In article , Marius Amado Alves 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 ?