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

Home » Public Forums » archive » Re: + in !PATH
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: + in !PATH [message #56937] Wed, 28 November 2007 10:34
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Wed, 28 Nov 2007, Jean H wrote:

> Jean H wrote:
>> Foldy,
>>
>> you forgot to use EXPAND_PATH to change the "+" into a list of
>> directories..
>>
>> Jean
> !path=EXPAND_PATH('+/usr/local/itt/idl/lib')
>

That's it. I am used to FL :-) (In FL + is kept in !PATH and the
search routines automatically expand it.)

thanks,
lajos
Re: + in !PATH [message #56938 is a reply to message #56937] Wed, 28 November 2007 10:15 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Nov 28, 11:50 am, FĂ–LDY Lajos <fo...@rmki.kfki.hu> wrote:
> Hi guys,
>
> + in !PATH does not work for me. Any idea?
>
> thanks,
> lajos
>
> IDL> print, !version
> { x86_64 linux unix linux 6.4 Apr 26 2007 64 64}
> IDL>
> IDL> !path='+/usr/local/itt/idl/lib'
> IDL> print, !path
> +/usr/local/itt/idl/lib
> IDL>
> IDL> time_test3
> % Attempt to call undefined procedure/function: 'TIME_TEST3'.
> % Execution halted at: $MAIN$
> IDL>
> IDL> $ls -l /usr/local/itt/idl/lib/time_test3.pro
> -rw-r--r-- 1 root root 831 2007-04-26 22:47 /usr/local/itt/idl/lib/time_test3.pro
> IDL>

I think you want to:
!path = expand_path('+/usr/local/itt/idl/lib')
Re: + in !PATH [message #56939 is a reply to message #56938] Wed, 28 November 2007 10:08 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Jean H wrote:
> Foldy,
>
> you forgot to use EXPAND_PATH to change the "+" into a list of
> directories..
>
> Jean
!path=EXPAND_PATH('+/usr/local/itt/idl/lib')
Re: + in !PATH [message #56940 is a reply to message #56939] Wed, 28 November 2007 10:07 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Foldy,

you forgot to use EXPAND_PATH to change the "+" into a list of directories..

Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: error with fsc_color
Next Topic: combine histograms

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

Current Time: Sun Oct 12 19:02:08 PDT 2025

Total time taken to generate the page: 1.20075 seconds