home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!darwin.sura.net!uvaarpa!murdoch!fermi.clas.Virginia.EDU!gl8f
- From: gl8f@fermi.clas.Virginia.EDU (Greg Lindahl)
- Subject: Re: unformatted output: << SUMMARY >>
- Message-ID: <1992Nov12.001106.22732@murdoch.acc.Virginia.EDU>
- Sender: usenet@murdoch.acc.Virginia.EDU
- Organization: Department of Astronomy, University of Virginia
- References: <1992Nov4.160112.26525@chpc.utexas.edu> <1992Nov5.111303.17921@uts.uni-c.dk> <1992Nov11.130931.2171@jyu.fi>
- Date: Thu, 12 Nov 1992 00:11:06 GMT
- Lines: 13
-
- In article <1992Nov11.130931.2171@jyu.fi> sakkinen@jyu.fi (Markku Sakkinen) writes:
-
- >No! Think of a direct-access file as an array on disk.
- >Indices are not _stored_ with array elements, they are just used
- >to calculate their addresses. Likewise, there is no need
- >to store record numbers with the records.
-
- This is the way most fortran implementations do it, but they don't
- HAVE to do it this way. In addition, we need to watch out what we mean
- by "hole" -- unixoids sometimes use this to refer to parts of a file
- which can be read but don't exist anywhere on disk. You make a unix
- disk hole by writing a few bytes, seeking forward for many bytes, and
- writing a few more bytes.
-