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 #26585 is a reply to message #26583] Thu, 13 September 2001 08:57 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
David Fanning wrote:
>
> Paul van Delst (paul.vandelst@noaa.gov) writes:
>
>> Umm.... huh?
>>
>> What about sticking procedures/functions in their own files.
>
> Too easy. Not a programmer's solution.
>
> Cheers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155

I am not sure if I understand correctly.

So I show an example

x_def_colortable was compiled by this routine.
This widget has a lot of routines included in the file and a lot of
routines
called from different files.
It is used to set up colortables which are created as idl files. For
documentation
a png file of the colortable is saved too.

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/x_def_colortable.sav

You can start this by idl -rt=x_def_colortable.sav

or you restore it by

IDL> restore,file='x_def_colortable.sav'
IDL> x_def_colortable

There is a function implemented x_def_colortable_info.

This shows you which routines are used and where they are from.

IDL> print,x_def_colortable_info()
x_def_colortable
Build Date: Mon Jul 9 16:46:09 2001
Compiled Procedures:
$MAIN$
AFORMAT /private/icglib/idl_source/idl_html/dbase/download/plotxy.sa v
Mon Jul 9 13:54:46 2001
ALT_INHALT_DEF
/private/icglib/idl_source/idl_html/dbase/download/plotxy.sa v Mon Jul 9
13:54:46 2001
BUILD_STRUCTURE
/private/icglib/idl_source/idl_html/dbase/download/pl_init.s av Mon Jul
9 13:52:14 2001
BUILD_VECTOR
/private/icglib/idl_source/idl_html/dbase/download/syst2inf. sav Mon Jul
9 16:20:53 2001
CACHE /private/icglib/idl_source/idl_html/dbase/download/plotxy.sa v Mon
Jul 9 13:54:46 2001
COLOR_SCHEME
/private/icglib/idl_source/idl_html/dbase/download/plotinit. sav Mon Jul
9 13:53:11 2001
CT_BLUE /private/icglib/idl_source/idl_html/dbase/download/plotinit. sav
Mon Jul 9 13:53:11 2001
CT_BLUE_GREEN_YELLOW_RED
/private/icglib/idl_source/idl_html/dbase/download/plotinit. sav Mon Jul
9 13:53:11 2001
CT_BLUE_RED
/private/icglib/idl_source/idl_html/dbase/download/plotinit. sav Mon Jul
9 13:53:11 2001
.
.
.

X_DEF_COLORTABLE
/private/icglib/idl_source/idl_work/rb_lib/x_def_colortable. pro Tue Jun
19 12:52:22 2001
X_DEF_COLORTABLE_EVENT
/private/icglib/idl_source/idl_work/rb_lib/x_def_colortable. pro Tue Jun
19 12:52:22 2001
X_DEF_COLORTABLE_EVENT_BLUE
/private/icglib/idl_source/idl_work/rb_lib/x_def_colortable. pro Tue Jun
19 12:52:22 2001
X_DEF_COLORTABLE_EVENT_GREEN
/private/icglib/idl_source/idl_work/rb_lib/x_def_colortable. pro Tue Jun
19 12:52:22 2001
X_DEF_COLORTABLE_EVENT_RED
/private/icglib/idl_source/idl_work/rb_lib/x_def_colortable. pro Tue Jun
19 12:52:22 2001
X_DEF_COLORTABLE_SHOW_COLORS
/private/icglib/idl_source/idl_work/rb_lib/x_def_colortable. pro Tue Jun
19 12:52:22 2001
X_DEF_COLORTABLE_SHOW_ONE_COLOR
/private/icglib/idl_source/idl_work/rb_lib/x_def_colortable. pro Tue Jun
19 12:52:22 2001


...

The compile routine compiles every routine it founds.

Normally this routine did not need all the routines which are included
in the binary. At the moment I don't
know how to distinguish between routines which are necessary and all
others.
But the routine makes it very easy to create binary files and as you see
it is possible to concatinate
several binary files in a new one.



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: Sat Oct 11 23:19:58 PDT 2025

Total time taken to generate the page: 1.27794 seconds