From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public From: William Clodius Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/08 Message-ID: <343BA0C2.41C6@lanl.gov>#1/1 X-Deja-AN: 278722327 References: <612k6f$i79@news-rocq.inria.fr> <619nmn$4jv$1@goanna.cs.rmit.edu.au> <34392537.AA4A9F96@tonys.ecology.umn.edu> <61c9kl$94l$1@goanna.cs.rmit.edu.au> <343AAA16.41C6@lanl.gov> <61f0kb$hen$1@goanna.cs.rmit.edu.au> Organization: Los Alamos National Lab Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec Richard A. O'Keefe wrote: > > William Clodius writes: > > >It lacks stream based I/O. > > I am not quite certain what you mean by this. > If you mean the kind of thing that is found in C, > then I have a printed copy of the specification for stream-based IO in > Fortran somewhere in this office. > This is low on the list of priorities for F200x, but still on the list of priorities. In principle Fortran I/O remains record based. For files that do not have a fixed record size, (or for which backspace does not make sense, i.e., standar I/O to a terminal) the execution of any given read or write statement cannot assume that it will not be followed by a backspace command. As a result the file must retain some construct that indicates the size of the record. For non-record based systems, e.g., UNIX this is (invariably) implemented by having an integer at the start and end of the record indicating the size of the record. For writing a file to be read by other systems this is a minor problem, but for reading files produced by other processors, e.g., C, the absence of the starting integer in the file causes no ends of problems. It is also a problem for interfacing to hardware, e.g., instumentation, although an appropriate Fortran specified interface that does not rely on READs or WRITEs can be an acceptable, if sometimes non-intuitive, substitute. Most vendors I believe offer this as an extension. -- William B. Clodius Phone: (505)-665-9370 Los Alamos Nat. Lab., NIS-2 FAX: (505)-667-3815 PO Box 1663, MS-C323 Group office: (505)-667-5776 Los Alamos, NM 87545 Email: wclodius@lanl.gov