!PATH variable, current directory, and .COMPILE problems [message #47307] |
Fri, 03 February 2006 13:49 |
guillaume.drolet.1
Messages: 20 Registered: July 2005
|
Junior Member |
|
|
Hi !
There's a behavior I don't quite understand in IDL. Under
C:\RSI\IDL61\lib\, I have a directory with my own functions, which
contains subdirectories.
Now if I start IDL and enter a procedure at the command line, say
'myplots', it automatically compiles and runs the procedure.
Right after it executed the command, I enter ".compile myfunctions" and
what it gives me an error message in a window :
" Can't open the file 'C:\RSI\IDL61\myplots.pro' "
Why does IDL doesn't remember or doesn'tseem to for "myplots.pro" look
in the subdirectories?
I have also tried to "insert" the path to the "myfunctions" dir into
the !PATH variables. I could use the ".compile myplots" command but
after a while of editing and compiling the procedure using both the"
.compile" command and the "Ctrl+F5" keys, I got this 'can't open
'myplots.pro' file at the output log window.
Does anyone have any idea about what is happening? There must be
something I don't get...
Thanks,
Guillaume
|
|
|