#13 !PATH

closed
nobody
None
5
2006-03-03
2005-12-21
howisjw
No

Hello,

I have a little question. Is it possible to get full
support of the !PATH variable. I would like to do
something like this:
!PATH="/home/blokland/idl/finesse:"+!PATH

I know you can specify the IDL_PATH or GDL_PATH in for
example .bashrc. I use different kind of numerical
codes and for the visualisation I use custom-made IDL
programs.
These programs have the same names but internally they
work differently.

Jan-Willem

Discussion

  • Marc Schellens
    Marc Schellens
    2006-02-24

    Logged In: YES
    user_id=932957

    What you suggest is already possible with GDL.
    Eg:

    GDL> !PATH="a_path"
    GDL> print,!PATH
    a_path
    GDL> !PATH=!PATH+":another_path"
    GDL> print,!PATH
    a_path:another_path

    Where is the problem?
    marc

     
  • Marc Schellens
    Marc Schellens
    2006-03-03

    • status: open --> closed