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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4b862d91ff93feff X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Speeding up Text_IO Date: 1998/01/16 Message-ID: #1/1 X-Deja-AN: 316548824 References: <98010912585349@psavax.pwfl.com> <34BA9133.7B4B@online.no> <69cfdt$3q$1@peuplier.wanadoo.fr> <69hr3i$sd5$1@goanna.cs.rmit.edu.au> <34BD2DCF.2A29@online.no> <01bd2203$f99e7680$95fc82c1@xhv46.dial.pipex.com> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 884945047 16452 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1998-01-16T00:00:00+00:00 List-Id: Nick said <> I wonder if it might be an idea to slightly read the existing RM :-) 9 procedure Get_Immediate(File : in File_Type; Item : out Character); procedure Get_Immediate(Item : out Character); 10 Reads the next character, either control or graphic, from the specified File or the default input file. Mode_Error is propagated if the mode of the file is not In_File. End_Error is propagated if at the end of the file. The current column, line and page numbers for the file are not affected. As for Put_Immediate, stream output to standard output has the effect you want, I see no reason to decorate Text_IO with more stuff!