Home »
Public Forums »
archive »
Re: How does IDL find functions?
Re: How does IDL find functions? [message #44449] |
Sun, 19 June 2005 00:49  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
robertschaefer@gmx.de wrote:
> Hello IDL community,
>
> I'm looking for a smart solution to find functions from my own lib
> inside a self written function or procedure.
> The idea is to get a tree of embedded self written functions.
>
> My solution looks like this but I think there must be an easier way:
>
> -generate a list of functions in user-lib
> -Read the function where to search (openr)
> -compare each line (string) with the list of lib functions
> (how to extract function names egantly? -> strsplit with '=*(' :
> definitely not)
> -save coincide functions (strings) and go on searching into found
> functions
>
You should have a look at catalog_db from our library.
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/idl_work_libraries.htm
The output you like to have you'll see by clicking on one of the database
icons
The trick is to call idl to find the necessary info itselfs.
> Does anybody (I'm sure ;-) ) know how IDL find functions on compiling?
> This may be exactly the right (fast) way...
Yes call idl, see above.
cheers
Reimar
>
> Any ideas? ...Thanks for help...
>
> Best regards
>
> robert
--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
|
|
|
Current Time: Wed Oct 08 19:31:03 PDT 2025
Total time taken to generate the page: 0.00468 seconds