"sk" 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