Re: How to know where IDL found the source of one procedure? [message #28312 is a reply to message #28311] |
Wed, 28 November 2001 15:50   |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
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
------------------------------------------------------------ --------------
|
|
|