From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 16 Oct 92 02:06:04 GMT From: van-bc!cs.ubc.ca!destroyer!sol.ctr.columbia.edu!src.honeywell.com!mail-en ters-news@ucbvax.Berkeley.EDU (Matt Englehart) Subject: reading an unformatted fortran file Message-ID: <9210160206.AA26763@akela.src.honeywell.com> List-Id: I have a fortran file that was written out using "unformatted" format,thus are stored in a binary representation. The data is stored in the file in a deterministic way, but consists of three types: integer, short float (fortran real*4), and float (fortran real*8). My question is, how do I read the values of this file? All I know is that I can instantiate SEQUENTIAL_IO for a particular data type, but what if the items stored in the file have mixed representations? Thanks, Matt Matthew J. Englehart Voice: (612)-951-7635 Honeywell Systems and Research Center FAX: (612)-951-7438 3660 Technology Dr. MS:MN65-2500 Inet: englehar@src.honeywell.com Minneapolis, MN 55418