From: lindahl@pbm.com (Greg Lindahl)
Subject: Re: Forcing 32-bit integers and math
Date: 1998/10/15 [thread overview]
Message-ID: <703ulq$68a@news3.newsguy.com> (raw)
In-Reply-To: 36255A0B.4C40@wizard.com
"H.W. Stockman" <hwstock@wizard.com> writes:
> I was under the impression that the exact form of the record
> delimiter (for unformatted files) is not specified by F77. In
> most FORTRANs I have used, the delimiter is simply an integer
> that corresponds to the record length, as implied in the
> previous discussion. However, I think other FORTRANs (e.g.
> Lahey) have more complicated record delimiters. Thus two FORTRANs
> on the same platform may not seemlessly exchange unformatted files--
> que no?
Right. On Unix platforms, which is what this fellow is using, there is
a simple convention: a 4-byte delimiter giving the length of the
record in bytes. I've yet to meet an alternate Fortran compiler on a
Unix box which did anything different; the only incompatibility I've
seen springs from the desire to support 64 bits, and between
platforms, Cray's use of a word length instead of a byte length.
-- g
next prev parent reply other threads:[~1998-10-15 4:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <YQsT1.507$525.1552696@ptah.visi.com>
[not found] ` <6vt65k$5hp$1@walter-fddi.cray.com>
1998-10-14 4:00 ` Forcing 32-bit integers and math G. Hugh SONG
1998-10-14 4:00 ` Greg Lindahl
1998-10-15 4:00 ` Jeff Drummond
1998-10-15 4:00 ` H.W. Stockman
1998-10-15 4:00 ` Jeff Drummond
1998-10-15 4:00 ` Greg Lindahl [this message]
1998-10-15 4:00 ` James Giles
1998-10-15 4:00 ` Richard Maine
1998-10-18 4:00 ` James Giles
1998-10-15 4:00 ` Greg Lindahl
1998-10-16 4:00 ` Jeff Drummond
1998-10-16 4:00 ` James Giles
1998-10-15 4:00 ` Toon Moene
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox