This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
RE: Proposed patch for 4 byte unformatted record delimiters
- From: "Ron Young" <ronyoung8 at verizon dot net>
- To: <fortran at gcc dot gnu dot org>
- Date: Fri, 30 Dec 2005 17:17:04 -0800
- Subject: RE: Proposed patch for 4 byte unformatted record delimiters
Rob's method is the most standard way of writing unformatted sequential
files. Every compiler I've used for 25 years used this method.
We are talking about Fortran logical records. Using Rob's method you can
write any length logical record you want. The record delimiter, that is
written into the file is the block length. Which is limited to 31 bits. You
can write longer logical records by adding any number of extension blocks.
This method requires no compiler flags. There is no reason that a 64 bit
compilers files be any different that a 32 bit compiler files.
Most of these compilers would have never even written 31 bit blocks. They
would have written much smaller blocks for performance reasons on the
hardware they were using.
Ron Young