From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Speeding up Text_IO
Date: 1998/01/16
Date: 1998-01-16T00:00:00+00:00 [thread overview]
Message-ID: <dewar.884944869@merv> (raw)
In-Reply-To: 01bd2203$f99e7680$95fc82c1@xhv46.dial.pipex.com
Nick said
<<I wonder if it might be an idea to slightly redefine the behaviour of
Get_Immediate, so that it does not do any line or page counting, and also
so that it specifically does not interpret end-of-line or anything else.
Maybe a Put_Immediate could be provided for the equivalent simplicity of
output?
>>
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!
prev parent reply other threads:[~1998-01-16 0:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-09 0:00 Text_IO for other standard types Marin David Condic, 561.796.8997, M/S 731-96
1998-01-10 0:00 ` Tarjei T. Jensen
1998-01-10 0:00 ` Robert Dewar
1998-01-11 0:00 ` Tarjei T. Jensen
1998-01-11 0:00 ` Robert Dewar
1998-01-11 0:00 ` Robert Dewar
1998-01-12 0:00 ` Tarjei T. Jensen
1998-01-10 0:00 ` Nick Roberts
1998-01-11 0:00 ` Jean-Pierre Rosen
1998-01-14 0:00 ` Dale Stanbrough
1998-01-14 0:00 ` Robert Dewar
1998-01-14 0:00 ` Tarjei T. Jensen
1998-01-14 0:00 ` Robert Dewar
1998-01-15 0:00 ` Speeding up Text_IO Nick Roberts
1998-01-16 0:00 ` Robert Dewar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox