home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / fortran / 4291 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.2 KB  |  25 lines

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