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

Home » Public Forums » archive » Re: Help on calling Fortran routines from IDL under linux
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: Help on calling Fortran routines from IDL under linux [message #36668 is a reply to message #36583] Thu, 09 October 2003 02:09 Go to previous message
isoaga2 is currently offline  isoaga2
Messages: 4
Registered: October 2003
Junior Member
Nigel Wade <nmw@ion.le.ac.uk> wrote in message news:<bm10fa$ef8$1@south.jnrs.ja.net>...
>
>
> Hmm, shouldn't that be 'print, sum'? Your C wrapper puts the sum in the 3rd
> parameter, argv[2].
>
> Also, your C wrapper return type is void, so s in IDL will have no value.

Hey thanx Nigel, you are right of course, i thouhgt that the s
variable would contain the answer however this is obviously not the
case, do you know what it does contain?

Using the fortran wrapper works fine and print, sum gives the correct
answer. Now to apply this approach to a more complicated function...
[Message index]
 
Read Message
Read Message
Previous Topic: Re: How to generate colored animation from time series satellite data?
Next Topic: Help on calling Fortran routines from IDL under linux

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

Current Time: Thu Dec 04 19:18:50 PST 2025

Total time taken to generate the page: 0.24318 seconds