comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen@adalog.fr>
Subject: Re: procedure Create(file : in out File_Type; from : in Stream_Access); ?
Date: Tue, 30 Sep 2003 14:34:18 +0200
Date: 2003-09-30T14:34:18+02:00	[thread overview]
Message-ID: <3dtblb.eoc.ln@skymaster> (raw)
In-Reply-To: slrnbnh205.dsr.lutz@belenus.iks-jena.de

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 822 bytes --]


"Lutz Donnerhacke" <lutz@iks-jena.de> a �crit dans le message de news:slrnbnh205.dsr.lutz@belenus.iks-jena.de...
> * Stephen Leake wrote:
> > Lutz Donnerhacke <lutz@iks-jena.de> writes:
> >> Knows anybody out there a way to create a File_Type (for Ada.Text_IO) from a
> >> Ada.Streams.Root_Type derivate?
> >
> > I don't see how this would be possible; a stream may not be a file (it
> > may be a socket or just memory, for example).
>
> All my programs does read data sequentially from a file/stream. So I use as
> file as a stream. That's why, I'd like to handle a Stream with the common
> Text_IO functions.
>
Did you notice Ada.Text_IO.Text_Streams (A.12.2) ?

-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr





  reply	other threads:[~2003-09-30 12:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-29  8:45 procedure Create(file : in out File_Type; from : in Stream_Access); ? Lutz Donnerhacke
2003-09-29 14:11 ` sk
2003-09-29 14:21   ` Lutz Donnerhacke
2003-09-29 16:36     ` sk
2003-09-29 15:14 ` Stephen Leake
2003-09-29 19:29   ` Lutz Donnerhacke
2003-09-30 12:34     ` Jean-Pierre Rosen [this message]
2003-09-30 13:27       ` Lutz Donnerhacke
2003-09-30 14:24         ` Jean-Pierre Rosen
2003-10-01  0:10           ` sk
2003-10-01  7:34             ` Jean-Pierre Rosen
2003-10-01 12:32               ` Lutz Donnerhacke
2003-10-01 11:19 ` sk
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox