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

Home » Public Forums » archive » passing IDL string to Fortran90?
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: passing IDL string to Fortran90? [message #48583 is a reply to message #48503] Fri, 28 April 2006 12:38 Go to previous message
biophys is currently offline  biophys
Messages: 68
Registered: July 2004
Member
Ok, I came up with a not so decent solution to my problem. A little
silly, but it works!

In IDL I pass the string, which is actually a filename, as two
variables as byte(filename) and strlen(filename) with type integer*1
and integer*4 and in fortran convert it back to char*(*) with the
intrinsic char() function.
[Message index]
 
Read Message
Read Message
Previous Topic: IDL calling Fortran
Next Topic: Oh what is wrong with WHERE() ?

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

Current Time: Fri Oct 10 04:50:35 PDT 2025

Total time taken to generate the page: 2.48010 seconds