comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Fortran data file -> ADA data file?
Date: Tue, 16 Jul 2002 09:57:54 -0400
Date: 2002-07-16T13:57:54+00:00	[thread overview]
Message-ID: <ah18p2$ihl$1@nh.pace.co.uk> (raw)
In-Reply-To: 3D34148B.9F3E1F55@res.raytheon.com

The answer is "It Depends". You're asking a question that is inherently tied
up with the particular OS in question and the particular implementations of
Fortran and Ada on that particular OS. Not all file systems are the same.
Not all implementations of a language will use the same underlying file
system features to implement a specific file type. So if you want to know
the specific answer for your case, you need to post here what OS you're
using, what file type(s) you're interested in accessing, and maybe what
mechanisms were used to write the files originally.

That being said, you can usually rest asured that A Solution Does Exist. Ada
provides standard mechanisms to access sequential, direct, stream and text
files and this usually maps to some OS specific file types. I don't recall
seeing any "standard" mechanisms for accessing ISAM files (if you even care)
but if the OS provides it and you really need it, you can either find a
compiler/vendor that supports it or you can create your own binding to use
it. If the OS has system calls you can make, Ada can find a way to bind to
them, so the job can be done.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com


"default" <default@res.raytheon.com> wrote in message
news:3D34148B.9F3E1F55@res.raytheon.com...
>
> Would ADA be able to process unformatted record files from FORTRAN?  I
> am trying to port some FORTRAN code to ADA and this seems like the only
> hurdle I may have.  Any input is greatly appreciated.
>





  reply	other threads:[~2002-07-16 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-16 12:41 Fortran data file -> ADA data file? default
2002-07-16 13:57 ` Marin David Condic [this message]
2002-07-16 14:56 ` Dan Nagle
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox