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

Home » Public Forums » archive » Re: compiling before needing
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: compiling before needing [message #26592 is a reply to message #26587] Thu, 13 September 2001 00:43 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Todd Clements wrote:
>
>> My programm consists of several functions and procedures in
>> corresponding files. Is there a way of automatically compiling all files
>> (functions/procedures) before they are needed
>
> Reimar is right - just stick a resolve_all at the beginning of the
> function that is called, and IDL will resolve all routines.
>
> I've also written a routine that will do this much, much more manually
> (which isn't what you wanted, but I thought I'd share anyway). It will
> let you check if a routine is compiled and you can optionally force it
> to compile. The /compile keyword will compile it if it's not already
> compiled, and the /force_compile keyword will compile it even if it's
> already compiled. The function returns 1 if the routine is compiled and
> 0 if it is not.
>
> Todd
>


In addition to Todd here is a routine to compile all routines used
in a routine and the routine itself. The result is saved as idl Routine
sav file.
If it is a procedure it could be started with idl runtime.

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/compile.tar.gz

IDL> compile,'str_sep'


A routine which finds a lot of information of routines used by one
routine is helpon.
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/helpon.tar.gz


look for routine definition
IDL> helpon,str_sep
function str_sep, str, separator, remove_all = remove_all, trim = trim,
esc=esc


IDL> helpon,str_sep ,/info
STR_SEP /usr/local/idl/idl/lib/obsolete/str_sep.pro 2000-09-26
15:08:07


IDL> helpon,get_dir ,/info
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
STR_SEP
/usr/local/idl/idl/lib/obsolete/str_sep.pro
2000-09-26 15:08:07
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


This routine helps us often to find out which routine was last changed
and where it comes from.


There are some more keywords.

regards
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
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calling LAPACK from IDL
Next Topic: previous and last

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

Current Time: Sun Oct 12 04:23:23 PDT 2025

Total time taken to generate the page: 0.87995 seconds