comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Q: Line_IO
Date: Mon, 31 Aug 2009 08:33:53 -0700 (PDT)
Date: 2009-08-31T08:33:53-07:00	[thread overview]
Message-ID: <41445103-0faf-4cb3-be93-99cb1d3c0080@z4g2000prh.googlegroups.com> (raw)
In-Reply-To: 4a9ba04a$0$32678$9b4e6d93@newsspool2.arcor-online.net

On Aug 31, 3:05 am, Georg Bauhaus <rm.dash-bauh...@futureapps.de>
wrote:
> Martin schrieb:
>
> > Nice one...I'll try these out on Win23 and see what happens :-)
>
> Thanks.  As is, the program will raise NAME_ERROR on Win32: It
> still seems impossible to name the standard streams for
> Stream_IO.Open on Win32?  The package has worked with (other) named
> files, though.
>
> > But surely "Put_Line" and "Get_Line" are preferable subprogram
> > names?...
>
> The names Put_Line (for Print) and Get_Line (for Getline)
> could suggest that these are perfect replacements.
> For Print, that is basically the case for standard output,
> I think.
> Getline, however, needs a little more care than Get_Line
> when using it.  At the moment, at least.

I am curious how close when compared to GNAT.IO.Put_Line and
GNAT.IO.Get_Line. If it is close enough, I would say it is the best of
both worlds, speed and portability.

Anh Vo



  reply	other threads:[~2009-08-31 15:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4a9b045a$0$31875$9b4e6d93@newsspool3.arcor-online.net>
2009-08-31  8:28 ` Q: Line_IO Martin
2009-08-31 10:05   ` Georg Bauhaus
2009-08-31 15:33     ` Anh Vo [this message]
2009-08-31 16:52       ` Georg Bauhaus
2009-08-31 18:39 ` Dmitry A. Kazakov
2009-08-31 22:51   ` Robert A Duff
2009-09-01  0:35     ` Georg Bauhaus
2009-08-31 23:56   ` Georg Bauhaus
2009-09-01  0:19     ` Georg Bauhaus
2009-09-01  1:08       ` Robert A Duff
2009-09-01  7:02     ` Ludovic Brenta
2009-09-01  9:55       ` Georg Bauhaus
2009-09-01 12:03       ` jonathan
     [not found]       ` <4a9e2c86$0$30235$9b4e6d93@newsspool1.arcor-online.net>
2009-09-02  8:47         ` Georg Bauhaus
2009-09-05 20:30       ` Georg Bauhaus
replies disabled

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