comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <jrcarter@acm.org>
Subject: Re: Text Processing in Ada 95
Date: Thu, 22 Feb 2007 02:45:24 GMT
Date: 2007-02-22T02:45:24+00:00	[thread overview]
Message-ID: <8t7Dh.7269$PD2.1442@attbi_s22> (raw)
In-Reply-To: <l22pt2114r910becfeg00e1dl1vb7flesq@4ax.com>

Rob Norris wrote:
> 
> Currently I'm using text_io which means I have to copy the whole thing into memory, insert the line
> then over write the file with new contents. direct_io is not an option (varing string lengths)

Is there an upper limit to the string lengths (other than 
Positive'Last)? If so, you could use Ada.Strings.Bounded and Direct_IO.

-- 
Jeff Carter
"You tiny-brained wipers of other people's bottoms!"
Monty Python & the Holy Grail
18



  parent reply	other threads:[~2007-02-22  2:45 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 [this message]
2007-02-22 11:56 ` Rob Norris
2007-02-23  4:30   ` Jeffrey R. Carter
2007-02-23 13:51   ` Stephen Leake
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