comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Text Processing in Ada 95
Date: Fri, 23 Feb 2007 08:51:23 -0500
Date: 2007-02-23T08:51:23-05:00	[thread overview]
Message-ID: <u1wkhugmc.fsf@stephe-leake.org> (raw)
In-Reply-To: k01rt2ls544bud72mirc5a5s2t9lel4am7@4ax.com

Rob Norris <firstname.lastname@baesystems.com> writes:

> On Wed, 21 Feb 2007 18:09:09 +0000, Rob Norris
> <firstname.lastname@baesystems.com> wrote:
>
>>
>>Suppose I have a text file such as:
>>
> <cut>
>
> Thanks everyone for the input.
> I suspected as much that I would have to do some stream_io.
>
> Unfortunately I can't do things any other way. The requirement is
> for a text file :(

Just be cause the file is "text" on the disk, doesn't mean you have to
use Ada.Text_IO to read and write it. 

Ada.Stream_IO reads and writes "text" files perfectly well. 

If you were writing this program in C, you would have no choice other
than the C equivalent of Ada.Stream_IO, and no one would claim you
were not using "text" files.

And what is a "text" file, precisely?

-- 
-- Stephe



  parent reply	other threads:[~2007-02-23 13:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 18:09 Text Processing in Ada 95 Rob Norris
2007-02-21 19:07 ` Pascal Obry
2007-02-22 14:02   ` Larry Kilgallen
2007-02-21 20:16 ` Randy Brukardt
2007-02-22  2:45 ` Jeffrey R. Carter
2007-02-22 11:56 ` Rob Norris
2007-02-23  4:30   ` Jeffrey R. Carter
2007-02-23 13:51   ` Stephen Leake [this message]
2007-02-26 12:11     ` Rob Norris
2007-02-23  4:55 ` Steve
2007-02-23  5:19   ` Randy Brukardt
2007-02-23  7:53 ` Jacob Sparre Andersen
replies disabled

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