Re: How to know where IDL found the source of one procedure? [message #28309 is a reply to message #28308] |
Wed, 28 November 2001 17:03   |
Xiangyun Qiu
Messages: 6 Registered: November 2001
|
Junior Member |
|
|
Craig Markwardt wrote:
> David Fanning <david@dfanning.com> writes:
>
>> Xiangyun Qiu (qiuxiang@msu.edu) writes:
>>
>>> Let's suppose we put several identical "test.sav" files in different
>>> directories, all these
>>> directly are included in IDL searching path, but we have no idea about
>>> their order.
>>>
>>> If we fire up 'IDL', and execute "test", is there an easy way to know
>>> which 'test.sav' IDL
>>> first found and execute?
>>
>> IDL> Help, /Source
>
> The ability for HELP to give the path to a SAVE file appears in IDL
> 5.3. Before that the source name appears blank.
>
> If you want to predict ahead of time which "test.sav" will be used,
> you should know they are searched in they order they appear in !PATH.
>
> Craig
>
> --
> ------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
> ------------------------------------------------------------ --------------
I also tried using help, /source_files ( this is my first time using
procedure <help> :-( )
it is more convenient, however the IDL documentation doesn't recommend
extracting
information as variables from the output. It's very handy for sure!
Thanks all,
Xiangyun
-
Attachment: qiuxiang.vcf
(Size: 0.22KB, Downloaded 141 times)
|
|
|