Re: Multiple Coyote Directories [message #74865] |
Sun, 06 February 2011 23:53 |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Am 05.02.2011 02:57, schrieb Paulo Penteado:
> On Feb 4, 2:47 pm, David Fanning <n...@dfanning.com> wrote:
>> My biggest headache are people who have 4-5 copies of the
>> Coyote Library on their IDL path. :-(
>
> The reason why on some applications I started putting version numbers
> in places that are seen by execution (the title bar, an object's
> property). The first thing I ask the user with trouble is to read that
> number, which confirms that the version being executed is not the file
> the person downloaded / is looking at.
This was the reason why we have added the helpon command to our library
helpon,'file_search' ,/info
shows where everything used comes from and when it was last changed
http://paste.pocoo.org/show/333559/
Gru�
Reimar
|
|
|
Re: Multiple Coyote Directories [message #74876 is a reply to message #74865] |
Sat, 05 February 2011 13:07  |
K Rodenacker
Messages: 2 Registered: February 2011
|
Junior Member |
|
|
Hi David,
possibly you think of the "Routine Shadow" in IDLWAVE package of the
beloved emacs!
You open TVIMAGE and press ^C^B and ...
Regards
Karsten
Am 04.02.2011, 17:47 Uhr, schrieb David Fanning <news@dfanning.com>:
> Folks,
>
> My biggest headache are people who have 4-5 copies of the
> Coyote Library on their IDL path. :-(
>
> I seem to remember someone on this group having a routine
> that could find multiple versions of a file in the
> IDL path. Does anyone remember that? I'm going to write
> it myself if I can't find it. I need some way to
> quickly debug this problem.
>
> It would be nice if I could search for a particular
> file, say, "tvimage.pro," and find it everywhere. :-)
>
> Cheers,
>
> David
>
>
--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
|
|
|
Re: Multiple Coyote Directories [message #74885 is a reply to message #74876] |
Fri, 04 February 2011 18:57  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Paulo Penteado writes:
> The reason why on some applications I started putting version numbers
> in places that are seen by execution (the title bar, an object's
> property). The first thing I ask the user with trouble is to read that
> number, which confirms that the version being executed is not the file
> the person downloaded / is looking at.
Humm. That's not a bad idea! Thanks!
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Multiple Coyote Directories [message #74886 is a reply to message #74885] |
Fri, 04 February 2011 17:57  |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Feb 4, 2:47 pm, David Fanning <n...@dfanning.com> wrote:
> My biggest headache are people who have 4-5 copies of the
> Coyote Library on their IDL path. :-(
The reason why on some applications I started putting version numbers
in places that are seen by execution (the title bar, an object's
property). The first thing I ask the user with trouble is to read that
number, which confirms that the version being executed is not the file
the person downloaded / is looking at.
|
|
|
Re: Multiple Coyote Directories [message #74892 is a reply to message #74886] |
Fri, 04 February 2011 11:00  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
FÖLDY Lajos writes:
>
> files=file_search(strsplit(!path, ':', /extract), 'tvimage.pro')
>
> You can use wildcards in the filename, too.
Thanks, gentlemen, all.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Multiple Coyote Directories [message #74897 is a reply to message #74892] |
Fri, 04 February 2011 09:10  |
Foldy Lajos
Messages: 268 Registered: October 2001
|
Senior Member |
|
|
On Fri, 4 Feb 2011, David Fanning wrote:
> Folks,
>
> My biggest headache are people who have 4-5 copies of the
> Coyote Library on their IDL path. :-(
>
> I seem to remember someone on this group having a routine
> that could find multiple versions of a file in the
> IDL path. Does anyone remember that? I'm going to write
> it myself if I can't find it. I need some way to
> quickly debug this problem.
>
> It would be nice if I could search for a particular
> file, say, "tvimage.pro," and find it everywhere. :-)
>
files=file_search(strsplit(!path, ':', /extract), 'tvimage.pro')
You can use wildcards in the filename, too.
regards,
Lajos
|
|
|
Re: Multiple Coyote Directories [message #74898 is a reply to message #74897] |
Fri, 04 February 2011 08:53  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Am 04.02.2011 17:47, schrieb David Fanning:
> Folks,
>
> My biggest headache are people who have 4-5 copies of the
> Coyote Library on their IDL path. :-(
>
> I seem to remember someone on this group having a routine
> that could find multiple versions of a file in the
> IDL path. Does anyone remember that? I'm going to write
> it myself if I can't find it. I need some way to
> quickly debug this problem.
>
> It would be nice if I could search for a particular
> file, say, "tvimage.pro," and find it everywhere. :-)
>
on linux this is just
> locate tvimage.pro
it requires updatedb.
cheers
Reimar
> Cheers,
>
> David
>
>
|
|
|
Re: Multiple Coyote Directories [message #74899 is a reply to message #74898] |
Fri, 04 February 2011 08:52  |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
On Friday, February 4, 2011 11:47:19 AM UTC-5, David Fanning wrote:
> I seem to remember someone on this group having a routine
> that could find multiple versions of a file in the
> IDL path. Does anyone remember that? I'm going to write
> it myself if I can't find it. I need some way to
> quickly debug this problem.
>
I am not certain this is what you are asking for, but
http://idlastro.gsfc.nasa.gov/ftp/pro/misc/findpro.pro
will list all versions of a procedure in your !PATH (with the one that will be compiled listed first). --Wayne
|
|
|