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

Home » Public Forums » archive » Re: How to know where IDL found the source of one procedure?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to know where IDL found the source of one procedure? [message #28277 is a reply to message #28273] Fri, 30 November 2001 11:54 Go to previous messageGo to previous message
jeyadev is currently offline  jeyadev
Messages: 78
Registered: February 1995
Member
In article <MPG.166f3506d3ccd4ee98979e@news.frii.com>,
David Fanning <david@dfanning.com> wrote:
> Xiangyun Qiu (qiuxiang@msu.edu) writes:
>
>> I think <which> is just what I need. I want to use the path as a variable in
>> 'test.sav' so that I can
>> make up other paths. I thought about the same way to search for it in the
>> !PATH, just couldn't believe
>> there is no easier way to extract it.

How about not using IDL?!

How do I find all procedures that start with "hist"? This is how I will do
it.

kaveri 38% set aa = `echo $WAVE_PATH | sed 's/:/ /g' `
kaveri 39% find $aa -name "hist*.pro" -print
/import/pvwave-6.0/wave/lib/std/hist_equal.pro
/import/pvwave-6.0/wave/lib/std/hist_equal_ct.pro
/import/pvwave-6.0/wave/lib/user/hist_equal_int.pro
/import/pvwave-6.0/wave/lib/user/guitools/demo/hist_plot_ini t.pro
/import/pvwave-6.0/wave/lib/user/guitools/demo/histo_equal_i nit.pro
/import/pvwave-6.0/wave/lib/std/hist_equal.pro
/import/pvwave-6.0/wave/lib/std/hist_equal_ct.pro
/import/pvwave-6.0/wave/lib/user/hist_equal_int.pro
/import/pvwave-6.0/wave/lib/user/guitools/demo/hist_plot_ini t.pro
/import/pvwave-6.0/wave/lib/user/guitools/demo/histo_equal_i nit.pro
/import/pvwave-6.0/wave/lib/user/guitools/demo/hist_plot_ini t.pro
/import/pvwave-6.0/wave/lib/user/guitools/demo/histo_equal_i nit.pro

No doubt, there is an one-liner, but I am not an expert!

> Lot's of easy things are hard in IDL. (A filled
> contour plot comes to mind.) But this is balanced
> by the myried hard things that are incredibly
> easy. :-)

You can say that again, dear sir!
--

Surendar Jeyadev jeyadev@wrc.xerox.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Setting history size in idlwave
Next Topic: Re: Sparse matrix algorithms

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

Current Time: Wed Oct 08 19:02:57 PDT 2025

Total time taken to generate the page: 0.00469 seconds