Question: Pass string array to external Fortran function

Hello,

I would like to pass a string array to an external FORTRAN function, can this be done without generating wrapper code...I don't have a FORTRAN compiler...

The Fortran datatype is

  character*255 hf(20)

In FORTRAN I would pass say "hf(1)='nitrogen.fld'", but I'm not sure what datatype to use in the maple define_external function or how to pass the data in?

 

RefPropSetUp := define_external(
        'SETUPdll',
        'i'::integer[4],
        'hf'::???
        'hfmix'::integer[4],
        'hrf'::string[3],
        'ierr'::integer[4],
        'herr'::string[255],
        'LIB'="C:\\Program Files\\REFPROP\\refprop.dll"
    );

 

Thank you...

Please Wait...