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 20:32:28 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.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 22:32:25 -0600 Organization: LJK Software Message-ID: References: <55cccaab.0310140444.4ac20d7f@posting.google.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1066188701 14968 192.135.80.34 (15 Oct 2003 03:31:41 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 15 Oct 2003 03:31:41 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:874 Date: 2003-10-14T22:32:25-06:00 List-Id: In article , Marius Amado Alves writes: > On Tue, 2003-10-14 at 23:11, Larry Kilgallen 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. >> >> Why not ? What error do you get ? > > I think the ARM does not guarantee it. Which of the three steps is not guaranteed ? Finding the value of File_Type Finding the name of the corresponding file Opening the file If it is the last, I would expect a failure to open would signal an exception. > With GNAT no output is produced. > I suppose another compiler could work as desired.