From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8342753e7337f46d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-17 02:50:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news-x2.support.nl!psinet-eu-nl!psiuk-p4!uknet!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Fortran data file -> ADA data file? Date: Tue, 16 Jul 2002 09:57:54 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3D34148B.9F3E1F55@res.raytheon.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1026827874 18997 136.170.200.133 (16 Jul 2002 13:57:54 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 16 Jul 2002 13:57:54 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:27185 Date: 2002-07-16T13:57:54+00:00 List-Id: 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" 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. >