From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c19e8df8a75221d0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!z4g2000prh.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: Q: Line_IO Date: Mon, 31 Aug 2009 08:33:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: <41445103-0faf-4cb3-be93-99cb1d3c0080@z4g2000prh.googlegroups.com> References: <4a9b045a$0$31875$9b4e6d93@newsspool3.arcor-online.net> <7225bda9-8757-4c5c-bb44-b3be21a1e1f9@p36g2000vbn.googlegroups.com> <4a9ba04a$0$32678$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: 149.32.224.33 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1251732833 12769 127.0.0.1 (31 Aug 2009 15:33:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 31 Aug 2009 15:33:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z4g2000prh.googlegroups.com; posting-host=149.32.224.33; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8074 Date: 2009-08-31T08:33:53-07:00 List-Id: On Aug 31, 3:05=A0am, Georg Bauhaus wrote: > Martin schrieb: > > > Nice one...I'll try these out on Win23 and see what happens :-) > > Thanks. =A0As is, the program will raise NAME_ERROR on Win32: It > still seems impossible to name the standard streams for > Stream_IO.Open on Win32? =A0The 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. =A0At 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