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

Home » Public Forums » archive » Re: How do I get the path for a UNIT of a file?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How do I get the path for a UNIT of a file? [message #33403] Fri, 20 December 2002 12:01
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Jonathan Greenberg <greenberg@ucdavis.edu> writes:


> Andrew:
>
> Once again, thou art a genius, the ASSOC was exactly what I needed --
> the last question I have is, when I do an "openu,unit,filename,/GET_LUN", is
> there any way to extract just the directory path for that particular file?

The IDL Astronomy library has a portable procedure called FDECOMP,
which parses a file name path into its various components, including
the directory path. It additionally requires GETTOK.

Craig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How do I get the path for a UNIT of a file?
Next Topic: Re: 'remote control' for widgets?

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

Current Time: Wed Oct 08 17:36:47 PDT 2025

Total time taken to generate the page: 0.00707 seconds