Calling Fortran Procedures from IDL
You can easily call Fortran procedures/function from IDL. You need for example to call convram.f which is a Fortran routine like this:
record /param/ param_in
By the way, you see that even in F77, there are structures. You wanna use F77
to perform the calculation of tab_resul.
INTEGER*4 FUNCTION callconvram(ARGC, ARGV)
ARGC !Argument count
This must be compiled as a sharable library. Have a look at your own <IDL_Directory>/external/sharelib for more complete examples (also for C). Or see an example of a Makefile for SUN.
Now you can call the procedure from IDL by:
IDL courses C. Morisset © 2004 IA/UNAM V 2.2