comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: Passing Unconstrained Arrays from FORTRAN to an Ada95 subunit
Date: 21 Jul 2002 18:48:57 -0700
Date: 2002-07-22T01:48:57+00:00	[thread overview]
Message-ID: <5ee5b646.0207211748.661a1be3@posting.google.com> (raw)
In-Reply-To: 5489a352.0207191657.5fac87a8@posting.google.com

kcarron@belcan.com (Karen Carron) wrote in message news:<5489a352.0207191657.5fac87a8@posting.google.com>...
> What I have found is that the offset in referencing individual array
> elements in FORTRAN is 1 (ex. the first element is referenced with a
> subscript of value 1) but in Ada it is 0.  This is causing a problem
> since the subscripts are variables in a fortran common.

What you are doing cannot possibly work. You need to
read the RM section on interfacing to Fortran.



      parent reply	other threads:[~2002-07-22  1:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-20  0:57 Passing Unconstrained Arrays from FORTRAN to an Ada95 subunit Karen Carron
2002-07-20  2:34 ` tmoran
2002-07-21 13:44   ` Karen Carron
2002-07-21 18:00     ` tmoran
2002-07-21 20:32       ` Dan Nagle
2002-07-22  1:17       ` Karen Carron
2002-07-22  1:48 ` Robert Dewar [this message]
replies disabled

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