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

Home » Public Forums » archive » find out name of file from "lun" unit number
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: find out name of file from "lun" unit number [message #87424 is a reply to message #87420] Fri, 31 January 2014 20:40 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Friday, January 31, 2014 9:27:24 PM UTC-5, ankorrigan wrote:
> Hi,
>
> I need to extract a parameter from a filename in an idl procedure.
>
> But only the lun is passed as a parameter to this procedure.
>
> Is it possible to find out the name of a file using his lun?
>
> let's say:
>
> openr, lun, 'filename', /get_lun
>
> file_name= find_file_name(lun)
>
> how to write this "find_file_name" function?

Did you try the FSTAT() function?

CM
[Message index]
 
Read Message
Read Message
Previous Topic: pass a struct point which is in another struct,from C to IDL by DLM.
Next Topic: site for IDL download for free.

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

Current Time: Wed Oct 08 13:55:10 PDT 2025

Total time taken to generate the page: 0.00436 seconds