comp.lang.ada
 help / color / mirror / Atom feed
* A Text_IO Question
@ 1996-11-09  0:00 Andy Askey
  1996-11-11  0:00 ` johnherro
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Askey @ 1996-11-09  0:00 UTC (permalink / 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-11-11  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-09  0:00 A Text_IO Question Andy Askey
1996-11-11  0:00 ` johnherro
1996-11-11  0:00   ` Robert Dewar

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