Problems of IDL search path and runtime source file compilation or saved routines restoration. [message #35698] |
Tue, 01 July 2003 06:40 |
tianyf_cn
Messages: 19 Registered: November 2002
|
Junior Member |
|
|
I use IDL 5.6 in Redhat Linux 7.3. There is a user function called
flt_img which returns the common file suffix. The flt_img.pro file
locates in my own directory (/home/idl/src/flt_img.pro). I appended
the /home/idl/src directory to the IDL !PATH variable. But when I
called this function, such as
print,flt_img()
I got:
% Syntax error.
After I open flt_img.pro and compile it, it works fine. The expected
result is:
ENVI>print,flt_img()
*.img *.dat *.jpg *.bil *.jpeg *.bmp *.tif *.png *.gif *.hdf *.raw
*.lan *.pix
My question is does IDL in Linux not support searching through !PATH
for the target .pro file and then compiling it when called from other
thread?
In Microsoft Windows XP, it works like this:
ENVI> print,flt_img()
% Compiled module: FLT_IMG.
*.img *.dat ...
Why IDL in Linux does not compile the flt_img.pro file when be called?
Thanks in advance.
Sincerely,
Tian.
================
@Beijing, China.
|
|
|