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,FREEMAIL_FROM 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 13:36:26 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail Message-ID: <3F8C5E44.3080403@comcast.net> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: SEQUENTIA_IO and stdin/stdout (Standard_Input, Standard_Output) References: <55cccaab.0310140444.4ac20d7f@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc54 1066163785 24.34.139.183 (Tue, 14 Oct 2003 20:36:25 GMT) NNTP-Posting-Date: Tue, 14 Oct 2003 20:36:25 GMT Organization: Comcast Online Date: Tue, 14 Oct 2003 20:36:26 GMT Xref: archiver1.google.com comp.lang.ada:856 Date: 2003-10-14T20:36:26+00:00 List-Id: 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