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: Wed, 1 Oct 2003 09:34:58 +0200
Date: 2003-10-01T09:34:58+02:00	[thread overview]
Message-ID: <v60elb.5sv.ln@skymaster> (raw)
In-Reply-To: mailman.19.1064966674.25614.comp.lang.ada@ada-france.org

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


"sk" <noname@myob.com> a �crit dans le message de news:mailman.19.1064966674.25614.comp.lang.ada@ada-france.org...
> rosen@adalog.fr:
>  > With this package, you have both a File and a Stream refering
>  > to the same physical file.You can use that any way you want.
>  > Unless I missed something?
>
> The Gnat 3.15p Ada.Text_Io.Text_Streams provides stream
> access to an Ada.Text_Io.File_Type, not the other way
> around (an Ada.Text_Io.File_Type from an Ada Stream)
> unless I am missing something :-)
>
So, if I understand correctly, you want a Text_IO.File_Type from
*any* stream? Can't you use Ada.Text_IO.Text_Streams.Stream_Access
right from the start?

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





  reply	other threads:[~2003-10-01  7: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
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 [this message]
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