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: jjd@sgi.com (Jeff Drummond) Subject: Re: Forcing 32-bit integers and math Date: 1998/10/15 Message-ID: <70522s$4gb$1@walter-fddi.cray.com>#1/1 X-Deja-AN: 401373920 Distribution: world References: <701flh$njg$1@news.kjist.ac.kr> <702t4k$met@news3.newsguy.com> <36255A0B.4C40@wizard.com> Followup-To: comp.lang.fortran Organization: Cray Research, a subsidiary of Silicon Graphics, Inc. Newsgroups: comp.lang.fortran,comp.graphics.visualization,comp.os.linux.alpha [ followups set to comp.lang.fortran ] In article <36255A0B.4C40@wizard.com>, "H.W. Stockman" writes: |> Greg Lindahl wrote: |> [...] |> > Linux/Alpha writes an 8-byte record length in bytes. |> > |> > Linux/x86 writes a 4-byte record length in bytes. |> > |> > It is fairly trivial to write a conversion program. There is a |> > record length at the start and end of each record. |> |> 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? That is correct. The Fortran standard specifically leaves the structure of unformatted files up to the individual implementation. Since the standard also requires various record positioning capabilities (i.e., BACKSPACE and skipping records), that effectively requires that there be _some_ structure. -Jeff jjd@sgi.com -- "Are we going to push it to the edge of the envelope?" --Pinky "No, Pinky. We may, however, reach the sticky part." --The Brain