From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Strings and reading from a file
Date: 1999/05/14
Date: 1999-05-14T00:00:00+00:00 [thread overview]
Message-ID: <7hi7nm$fsk@hobbes.crc.com> (raw)
In-Reply-To: yec1zgjjq7j.fsf@king.cts.com
Keith Thompson wrote in message ...
>"Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr> writes:
>[...]
>> While were at improving it, what about:
>> function Next_Line
>> (File : in Ada.Text_IO.File_Type := Ada.Text_Io.Standard_Input;
>> Guessed_Length : Positive := 256) return String is
>[...]
>
>Shouldn't the default for File be Ada.Text_IO.Current_Input rather
>than Ada.Text_IO.Standard_Input? (Not that I've ever understood the
>need for the distinction, but we might as well be consistent.)
>
Current_Input is switchable from file to file by a running program,
whereas Standard_Input is fixed from the program's perspective.
next prev parent reply other threads:[~1999-05-14 0:00 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-12 0:00 Strings and reading from a file Cameron Hodge
1999-05-11 0:00 ` David Botton
1999-05-12 0:00 ` Gautier
1999-05-12 0:00 ` Robert Dewar
1999-05-12 0:00 ` Cameron Hodge
1999-05-12 0:00 ` Marin David Condic
1999-05-12 0:00 ` Tom Moran
1999-05-12 0:00 ` Marin David Condic
1999-05-13 0:00 ` jrcarter001
1999-05-13 0:00 ` dennison
1999-05-13 0:00 ` Martin C. Carlisle
1999-05-13 0:00 ` David Botton
1999-05-13 0:00 ` David Botton
1999-05-14 0:00 ` Jean-Pierre Rosen
1999-05-14 0:00 ` Keith Thompson
1999-05-14 0:00 ` David C. Hoos, Sr. [this message]
1999-05-14 0:00 ` Keith Thompson
1999-05-15 0:00 ` David C. Hoos, Sr.
1999-05-16 0:00 ` Jean-Pierre Rosen
1999-05-13 0:00 ` Marin David Condic
1999-05-13 0:00 ` Hyman Rosen
1999-05-13 0:00 ` Keith Thompson
1999-05-14 0:00 ` Pascal Obry
1999-05-15 0:00 ` jrcarter001
1999-06-05 0:00 ` Matthew Heaney
1999-05-12 0:00 ` David C. Hoos, Sr.
1999-05-12 0:00 ` dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox