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

Home » Public Forums » archive » Re: How to run a program for datasets located in different folders at a single stretch
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to run a program for datasets located in different folders at a single stretch [message #71939 is a reply to message #71930] Wed, 28 July 2010 07:03 Go to previous messageGo to previous message
sid is currently offline  sid
Messages: 50
Registered: January 1995
Member
On Jul 28, 6:31 pm, David Fanning <n...@dfanning.com> wrote:
> Kenneth P. Bowman writes:
>> I think that in general 'data' files should not be in the IDL search
>> path and that this problem is best solved primarily (but not entirely)
>> outside of IDL.
>
> Well, I was describing the actual situation, not the
> theoretical best practice. :-)
>
> Cheers,
>
> David
>

Hi,
I am getting this kind of error after running the program. I have
copied the required routines to my idl routines directory.
Could you please explain why it happens
regards
sid


% Compiled module: FIND_RESOURCE_FILE.
% Compiled module: FILEPATH.

IF ( StrPos(thisRoutine.Path, Path_Sep()) ) EQ -1 THEN BEGIN
^
% Syntax error.
At: /home/sid/Downloads/idl_routines/programrootdir.pro, Line 154

ENDIF ELSE BEGIN
^
% Type of end does not match statement (END expected).
At: /home/sid/Downloads/idl_routines/programrootdir.pro, Line 157
% Compiled module: PROGRAMROOTDIR.
% Compiled module: ERROR_MESSAGE.
% Compiled module: STRSPLIT.

Traceback Report from FIND_RESOURCE_FILE:

% Attempt to call undefined procedure/function: 'PROGRAMROOTDIR'.
% Execution halted at: FIND_RESOURCE_FILE 129 /home/sid/
Downloads/idl_routines/find_resource_file.pro
% $MAIN$
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Another small V8.0 bug
Next Topic: Re: Fanning's LogScl routine + Colorbar??

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

Current Time: Sun Oct 12 09:43:50 PDT 2025

Total time taken to generate the page: 1.67942 seconds