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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bed2755a22ee69a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Text Processing in Ada 95 References: From: Stephen Leake Date: Fri, 23 Feb 2007 08:51:23 -0500 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:4rly1/tNWkmsC1w/WIKHe97tDAM= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: de11945def15c759e00d431180 Xref: g2news2.google.com comp.lang.ada:9458 Date: 2007-02-23T08:51:23-05:00 List-Id: Rob Norris writes: > On Wed, 21 Feb 2007 18:09:09 +0000, Rob Norris > wrote: > >> >>Suppose I have a text file such as: >> > > > 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