mackinnon@bison.fnal.gov (MACKINNON, BRYAN) (12/01/90)
We are exploring the possibility of calling Fortran from Eiffel on an SGI. Simply calling a Fortran function with no parameters works fine. Has anyone had success in calling Fortran with a parameter list? We will need to call fortran using both scalars (integers, reals, etc) and arrays. For example, the fortran subroutine may look like this: SUBROUTINE xyz(a,b,c) INTEGER*4 a(100) INTEGER*4 b REAL c -- Suboroutine body -- END Of course, all parameters are passed by reference. How could we construct the proper objects in Eiffel for calling this routine? This is important since we have many Fortran subroutine libraries that will be used. +--------------------------+------------------------------------------------+ | Bryan MacKinnon | DECNET: FNAL::MACKINNON | | Computing Division/WH8E | Internet: MACKINNON@BISON.FNAL.GOV | | Fermilab | Bitnet: MACKINNO@FNAL.GOV | | Batavia IL 60510 USA | Phone: (708) 840-4790 / FAX: (708) 840-2783 ! +--------------------------+------------------------------------------------+ | "An oyster is only slightly more intelligent than a scientist." | | - Mark Twain | +---------------------------------------------------------------------------+