[fpc-pascal] FORTRAN from FreePascal

Bo Berglund bo.berglund at gmail.com
Sat Nov 18 20:37:10 CET 2017


On Sat, 18 Nov 2017 17:06:25 +0000, Mark Morgan Lloyd
<markMLl.fpc-pascal at telemetry.co.uk> wrote:

>I find myself wondering, in part due to conversations elsewhere: can the 
>Lazarus IDE do anything at all sane with a FORTRAN routine called from 
>Pascal?

In the D7 application written in ObjectPascal calls were made into the
FORTRAN created DLL:s referencing multi-dimensional arrays of data.
Fortran processes the inversion and returns modified/new array output.
So as long as the interface is like this and the calling conventions
are OK it should work also from Lazarus/FPC.


-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list