From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103885,20ac8f08b884ba5 X-Google-Attributes: gid103885,public X-Google-Thread: 111c93,20ac8f08b884ba5 X-Google-Attributes: gid111c93,public X-Google-Thread: 1094ba,10f7c56bf397ed71 X-Google-Attributes: gid1094ba,public From: lindahl@pbm.com (Greg Lindahl) Subject: Re: Forcing 32-bit integers and math Date: 1998/10/15 Message-ID: <703ulq$68a@news3.newsguy.com>#1/1 X-Deja-AN: 401253117 References: <36255A0B.4C40@wizard.com> Organization: a guest of Shadow Island Games Newsgroups: comp.lang.fortran,comp.graphics.visualization,comp.os.linux.alpha "H.W. Stockman" 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