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

Home » Public Forums » archive » Routine to locate .PRO 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
Routine to locate .PRO file? [message #2545] Wed, 27 July 1994 03:48
HADFIELD[1] is currently offline  HADFIELD[1]
Messages: 9
Registered: March 1994
Junior Member
When one types (say) ".run,aprocedure" at the IDL command prompt, IDL searches
the current directory, then the directories in the !PATH system variable, for
a file with the name aprocedure.pro (under DOS, aprocedu.pro) and compiles it.
My question, is there a function that will return the name (complete with
directory specification) of that file? Or will I have to write one?

I know that in the IDL Astronomy Library there is a procedure called GETPRO
that claims to locate the .pro file as above and copy it to the current
directory. So it looks like that could be modified to do what I want. But it
doesn't seem to handle the DOS 8-character limitation.


============================================================ ==
Mark Hadfield hadfield@greta.niwa.cri.nz
NIWA Marine (Taihoro Nukurangi) NIWA.GRETA:HADFIELD
Wellington, New Zealand
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 3.6.1 A lot of bugs and annoyance
Next Topic: Re: IDL 3.6.1 does not start on AIX

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

Current Time: Wed Oct 08 17:38:00 PDT 2025

Total time taken to generate the page: 0.00563 seconds