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

Home » Public Forums » archive » Re: library and online help
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: library and online help [message #38885 is a reply to message #38883] Wed, 07 April 2004 08:02 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Steve wrote:
> Hi all,
>
> how can I add and IDL library (taken somewhere from the web) to the
> standard path of my IDL distribution, so that each time I call a
> procedure/function that is in the library, IDL automatically find it?
> Do I have to put such library in some directory? where? (I use linux).
>
> Just a drop. I have got the new IDL version, but the "old" online help
> doesn't work anymore :-( Is it right???
> Only that nasty and NON user-friendly acrobat manual ...
>
> Cheers,
> S.

The simplest way I believe is to use a startup file.

The startup file for our library looks like this one
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl .all

this is an idl script with the syntax restrictions of a journal.

This example is platform independent for the settings for windows, aix
and linux. A startup file sets the path in a defined way for several
users. It prevents for path order changes by differnt users which could
give different hard to find problems.


A startup file is accesed from idl by setting the env variable
IDL_STARTUP to the file where it is.


for linux a simple one could be

!path=!path+':pathToSomewhere:'

expand_path() could be used to expand into sub directories. if they have
the '+' sign in front.

!path=!path+':+pathToSomewhere:'

!path=expand_path(!path)


regards

Reimar



--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL Comments
Next Topic: xmanager to call object methods?

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

Current Time: Fri Oct 10 23:05:30 PDT 2025

Total time taken to generate the page: 3.52063 seconds