🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4116

MS Fortran files in C

#4116
From: Paul Tomblin
Date: Thu, 03 Jan 1991 13:35
21 lines
1448 bytes
I'm trying to read Grid files produced by a package that I didn't write,
so that I can create contours.  I'm pretty sure the files were created by
routines in MS-Fortran.

When I look at them with 'list /h', it seems that there is two bytes of
junk every 64 words, or at the end of a record.  Does anybody know whether
this is some wierdness that MicroSoft did for thier implementation of
Fortran Direct Access Files.  (Does MS-Fortran support FDA?)  Can anybody
tell me what the real format of these records is, so that I can read them
in my C program?

No, I don't have access to a MS-Fortran library, so I can't do my file IO
in Fortran.  (I'm using TurboC.  I haven't used fortran in 3 years, since I
expunged the last fortran routine from our GIS product, by rewriting it in C)

-- 
Paul Tomblin, Department of Redundancy Department.       ! My employer does 
The Romanian Orphans Support Group needs your help,      ! not stand by my
Ask me for details.                                      ! opinions.... 
pt@geovision.gvc.com or {cognos,uunet}!geovision!pt      ! Me neither.
Technical Details
Message-ID: <1317@geovision.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!cognos!geovision!pt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!cognos!geovision!pt
From: pt@geovision.uucp (Paul Tomblin)
Newsgroups: comp.os.msdos.programmer
Subject: MS Fortran files in C
Keywords: fortran C file io
Message-ID: <1317@geovision.UUCP>
Date: 3 Jan 91 13:35:24 GMT
Reply-To: pt@geovision.gvc.com
Organization: GeoVision Corp., Ottawa, Ontario
Lines: 21