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

Home » Public Forums » archive » Does anybody know an 'undocumented IDL feature' that does this
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
Does anybody know an 'undocumented IDL feature' that does this [message #28941] Tue, 22 January 2002 19:23 Go to next message
Paul Hick is currently offline  Paul Hick
Messages: 9
Registered: November 1999
Junior Member
Is there a way to get a complete list of function/procedure names that
any given IDL procedure needs to function properly? IDL has to do just
that when it reads a .pro file, and decides what to do with it. The
question is how to get to that information.

Look at http://casswww.ucsd.edu/solar/help/pro_frames.htm to see what
I'm trying to do. For a given package of IDL procedures I'm trying to
get two pieces of related information:

1. which procedures does procedure A depend on;
2. (more interesting) which procedures depend on procedure A.

Given the first for all procedures in the package, I know how to get the
second. The first I now have to put in by hand as part of the
documentation, a somewhat boring and error-prone task. Would be nice to
get it automated.

Any ideas?
Re: Does anybody know an 'undocumented IDL feature' that does this [message #29438 is a reply to message #28941] Thu, 21 February 2002 01:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Paul Hick wrote:
>
> Is there a way to get a complete list of function/procedure names that
> any given IDL procedure needs to function properly? IDL has to do just
> that when it reads a .pro file, and decides what to do with it. The
> question is how to get to that information.
>
> Look at http://casswww.ucsd.edu/solar/help/pro_frames.htm to see what
> I'm trying to do. For a given package of IDL procedures I'm trying to
> get two pieces of related information:
>
> 1. which procedures does procedure A depend on;
> 2. (more interesting) which procedures depend on procedure A.
>
> Given the first for all procedures in the package, I know how to get the
> second. The first I now have to put in by hand as part of the
> documentation, a somewhat boring and error-prone task. Would be nice to
> get it automated.
>
> Any ideas?

We do have a routine which find all dependencies of a given routine

I am using this for our catalog and this is one of the database
outputs for array2htmltable.

http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/array2htmltable_dbase.pro.html


The information comes from this package,

http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/download/resolve_dependencies.tar.gz




Another package which might be intersting is
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/download/helpon.tar.gz

helpon,'get_dir'
% Compiled module: GET_DIR.
% Compiled module: GET_DIR.

function get_dir,inpath,sort=sort,all=all

helpon,'get_dir',/info
STR_SEP
/usr/local/idl/idl/lib/obsolete/str_sep.pro
2001-08-29 13:08:28
FILE_EXIST
/usr/local/icg/icg/idl_source/idl_links/file_exist.pro
2001-06-22 09:44:02
GET_DIR
/usr/local/icg/icg/idl_source/idl_work/rb_lib/get_dir.pro
2001-06-14 16:02:32
REPLACE_STRING
/usr/local/icg/icg/idl_source/idl_links/replace_string.pro
2001-02-13 16:08:30
GET_TEMPLATE_ONE_VALUE
/usr/local/icg/icg/idl_source/idl_links/get_template_one_val ue.pro
2000-08-17 10:40:08
BUILD_VECTOR
/usr/local/icg/icg/idl_source/idl_links/build_vector.pro
2000-06-18 08:07:48
CALL_HELP
/usr/local/icg/icg/idl_source/idl_links/call_help.pro
1999-11-06 16:44:28

more routines and information at

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml


Reimar
--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Keyboard input from widgets
Next Topic: widget_text (correction)

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

Current Time: Wed Oct 08 18:40:52 PDT 2025

Total time taken to generate the page: 0.00573 seconds