Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!aries!mcdonald From: mcdonald@aries.scs.uiuc.edu (Doug McDonald) Newsgroups: comp.lang.fortran Subject: Re: File handling in Fortran 77 Message-ID: <1990Aug29.173235.9405@ux1.cso.uiuc.edu> Date: 29 Aug 90 17:32:35 GMT References: <46016@masscomp.ccur.com> Sender: usenet@ux1.cso.uiuc.edu (News) Reply-To: mcdonald@aries.scs.uiuc.edu (Doug McDonald) Organization: School of Chemical Sciences, Univ. of Illinois at Urbana-Champaign Lines: 14 In article <46016@masscomp.ccur.com> andyo@masscomp.UUCP (Andy Oram) writes: >Not officially. I can't think of any circumstances where you'd see >differences -- a record is a record is a record, and that's the granularity >with which FORTRAN I/O operates. (For instance, you can't change one part of >an existing record and leave another part intact.) > This has always bothered me. A file is just a sequence of it, usually organized as bytes - a text file must be in "bytes". So how, in standard Fortran, do you dothe exact analog of the most primitive file operations - those expressed in C as flavors of get, put, and seek. It HAS to be possible to do this, as C requires it. Doug MCDonald