comp.lang.ada
 help / color / mirror / Atom feed
* File I/O Question
@ 1990-04-11 14:03 Dick Koolish
  1990-04-12 14:10 ` stt
  0 siblings, 1 reply; 2+ messages in thread
From: Dick Koolish @ 1990-04-11 14:03 UTC (permalink / raw)




I need to read some existing data files from an Ada program.
The files have a header block followed by data records.
Different files have different data record sizes.  The size and
number of data records is specified in the header block.
I also need to be able to read the data starting at any record
and when I get to the physical end of file to wrap around to the
start of the data again.

The two questions are how to read two different kinds of records
out of a file and how to do this if you don't know the size of
one of the records until you open the file and read the header.

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

end of thread, other threads:[~1990-04-12 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1990-04-11 14:03 File I/O Question Dick Koolish
1990-04-12 14:10 ` stt

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