comp.lang.ada
 help / color / mirror / Atom feed
From: ajaskey@gnn.com (Andy Askey)
Subject: A Text_IO Question
Date: 1996/11/09
Date: 1996-11-09T00:00:00+00:00	[thread overview]
Message-ID: <562d9o$hqq@news-e2c.gnn.com> (raw)


I'm converting a little C program to Ada and can't figure out if the
following is possible using Text_IO:

The C program writes a space holding dummy header to the top of the
file, process a lot of data, writes it out, counts up the lines and
calculates statistics on the data, moves the file pointer back to the
top of the file, and overwrites the dummy header with correct data.

I am just wondering if this is possible with Text_IO.  Every method I
tried moves the End of File mark right below the header when I rewrite
the correct data.

Any ideas?


--
May your karma be excellent for forgiving my spelling mishaps.

Andy Askey
ajaskey@gnn.com





             reply	other threads:[~1996-11-09  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-09  0:00 Andy Askey [this message]
1996-11-11  0:00 ` A Text_IO Question johnherro
1996-11-11  0:00   ` Robert Dewar
replies disabled

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