I found that by removing the extra brackets around
call f2c((argv(1)), (argv(2)))
that it made the function return values. WEIRD!
But I would still like to know why scalar values are required to be declared as dimension(1).
If I do not declare them as dimension(1), they are not passed.
Hi Tek-tips,
I am having a very wierd problem that I can't seem to figure out!
I need to call a fortran 77 function from IDL. To do this, I must export these functions in a DLL and also add a wrapper function (IDL uses argc,argv convention).
So first I am testing my dll in fortran (Visual...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.