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

Home » Public Forums » archive » Problems of IDL search path and runtime source file compilation or saved routines restoration.
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
Problems of IDL search path and runtime source file compilation or saved routines restoration. [message #35698] Tue, 01 July 2003 06:40
tianyf_cn is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Map transparent image
Next Topic: Software for DTM color map?

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

Current Time: Wed Oct 08 19:50:26 PDT 2025

Total time taken to generate the page: 0.00904 seconds