comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Fortran External Calls
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Fortran External Calls [message #13841 is a reply to message #13828] Thu, 17 December 1998 00:00 Go to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
John Grimes wrote (about F90 call_external problems):
> Anyway I think all I need is a solid example of it being done.
> Don't really understand how to do the argv stuff in fortran. What I am
> trying is definetely not working.

Although it's *possible* that there's a mechanism in F90 that will
allow this to be done, I doubt it. You will probably have to
write a C wrapper that gets the parameters from argv and then
passes them to the F90 routine. See the examples in
$IDL_DIR/external/call_external/Fortran (that's the name
of the directory for IDL 5.2, anyway - can't seem to remember
the capital F in Fortran before....) Beware that routine
naming conventions (underscores etc.) may be different
in C, F77 and F90 compilers.

You should also look at the online help more closely, there's
a lot of it that's hidden well: There's the "Main IDL Help File",
and then there's the "Other Online Books" (think the naming
etc. is slightly different for earlier versions, but the thing
that counts is that the online help is segmented into "books",
and when you're looking at one book, you cannot see what's
in the other books until you make the switch in the Contents
section of the Topics "dialog").

Regards,

Stein Vidar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Polar Plots?
Next Topic: Re: Secret decoder ring! ring! ring!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 02:34:01 PDT 2025

Total time taken to generate the page: 1.44436 seconds