From: "Paolo M. Pumilia" <chaos@cstc.org>
To: Ed Falis <falis@ma.aonix.com>
Subject: Re: help on interfacing with fortran
Date: 2000/01/22
Date: 2000-01-22T11:26:39+00:00 [thread overview]
Message-ID: <388994BF.B4B52F29@cstc.org> (raw)
In-Reply-To: 867gr5$c1h$1@nnrp1.deja.com
I tried to use your perl conversion script, but it seems the result is
not yet satisfying.
Here are my first observations:
- The function icarry was strangely defined as Real rather than
integer
- The vector defined in the statement
DIMENSION V(65)
is not recognized, V being defined as a simple Double variable.
- The long line of the data assigned to V is not split. GNAT complains
that such
line is too long
- The stemement
DATA AA,B,C/12.37586d0,.4878992d0,12.67706d0/
1 C1,C2,PC,XN/.9689279d0,1.301198d0,.1958303d-1,2.776994d0
is not properly treated.
After the output from f2a.pl has been fixed by hand, GNAT terminates
with error:
> rnor.adb:36:21: missing operand
> rnor.adb:113:12: reserved word "mod" cannot be used as identifier
> gnatmake: "rnor.adb" compilation error
Line 36 is: XN(i) := mod (iabs(idum) * i, 37);
Line 113 is: J := MOD(IABS(I), 64) + 1;
thank you for your help, anyway
Pol
next prev parent reply other threads:[~2000-01-22 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CB1575D4D198D311A3F800600803947E70B5F5@scopent3.mar.hp.com>
2000-01-20 0:00 ` help on interfacing with fortran Oliver Kellogg
2000-01-22 0:00 ` Paolo M. Pumilia [this message]
2000-01-22 0:00 ` Oliver Kellogg
2000-01-23 0:00 ` Oliver Kellogg
2000-01-16 0:00 Paolo M. Pumilia
2000-01-16 0:00 ` Gisle S�lensminde
2000-01-25 0:00 ` pumilia
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox