comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@acm.nospam.org>
Subject: Re: Concatenating files
Date: Sat, 22 Sep 2007 20:07:45 GMT
Date: 2007-09-22T20:07:45+00:00	[thread overview]
Message-ID: <lCeJi.98489$Xa3.42238@attbi_s22> (raw)
In-Reply-To: <1190482683.826082.43190@50g2000hsm.googlegroups.com>

mhamel_98@yahoo.com wrote:
> Thanks for the replies!  How about this, instantiating Sequential_Io
> with a variant record?  The header data can be put into a record
> easily enough, so I would write the first sequential record as a
> header type with the following as the original data records.  The
> problem is, some of the header data will not be known until all the
> data records have been written.  Is there a way to edit, in place, the
> first record of a sequential file?  Thanks much again c.l.a!

Sounds as if Ada.Direct_IO would be better.

-- 
Jeff Carter
"Ada has made you lazy and careless. You can write programs in C that
are just as safe by the simple application of super-human diligence."
E. Robert Tisdale
72



  reply	other threads:[~2007-09-22 20:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 21:33 Concatenating files mhamel_98
2007-09-20  4:28 ` Jeffrey R. Carter
2007-09-20 11:41 ` Jacob Sparre Andersen
2007-09-20 13:11 ` gautier_niouzes
2007-09-22 17:38   ` mhamel_98
2007-09-22 20:07     ` Jeffrey R. Carter [this message]
2007-09-22 22:51       ` mhamel_98
2007-09-23  1:45         ` Jeffrey R. Carter
replies disabled

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