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

Home » Public Forums » archive » Re: check for duplicate routine names?
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: check for duplicate routine names? [message #23230] Mon, 22 January 2001 06:17 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Michael W Asten wrote:
>
> It is a stupid error to have a two routines of the same name
> DoitNow.pro , in two different library files MyLib1.pro and MyLib2.pro

Dear Michael!

Using a Library Routine (e.g. widgets normaly always having
al lot of routines in one file) some rules are necessary.


I. The library file

1.) The name of the library is the name of the last routine
2.) each other routine name begins whith the name defined by 1.)
e.g. :
x_synchronize is the calling routine name

x_synchronize_event
x_synchronize_sensitive
x_synchronize_data
....
3.) The order of the routine is the order of needed.


II. The routine files

1.) Routines which are useful in several library files
have to be standalone (not included to libraries)

2.) The names of the routine is the filename plus .pro
(lowercase)


III. Test of packages and distribute

1.) resolve_dependencies
This procedure will resolve dependencies of a given
IDL-procedure/function to the very end
This routine stops if a) a routine isn't found
b) a routine couldn't be compiled

For further routines and licensing please look first at
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml


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

2.) tar_gz_dependencies

This routine is used on a unix/linux system to make a tar.gz file of
all
routines used by one routine. RSI files are not included.

This procedure founds all dependent routines from a given routine.
They are saved into a tar.gz file
Additional Informations about the routines are saved into an html
file too.


regards

Reimar


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de

=============================================
a IDL library at ForschungsZentrum J�lich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.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
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and basic stable! widgets [Example program??]
Next Topic: Re: Printf and line breaks

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

Current Time: Sat Oct 11 10:55:58 PDT 2025

Total time taken to generate the page: 0.48094 seconds