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,1331b7c1f6d82fa7 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Concatenating files References: <1190237608.187880.115470@o80g2000hse.googlegroups.com> <1190293861.058191.238500@d55g2000hsg.googlegroups.com> <1190482683.826082.43190@50g2000hsm.googlegroups.com> In-Reply-To: <1190482683.826082.43190@50g2000hsm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1190491665 12.201.97.213 (Sat, 22 Sep 2007 20:07:45 GMT) NNTP-Posting-Date: Sat, 22 Sep 2007 20:07:45 GMT Organization: AT&T ASP.att.net Date: Sat, 22 Sep 2007 20:07:45 GMT Xref: g2news2.google.com comp.lang.ada:2089 Date: 2007-09-22T20:07:45+00:00 List-Id: 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