Re: Porting OS X IDL 7.0 to Linux IDL 8.0 [message #77436] |
Tue, 30 August 2011 08:19 |
polystethylene
Messages: 28 Registered: February 2009
|
Junior Member |
|
|
On Aug 30, 3:42 pm, polystethylene <polystethyl...@hotmail.com> wrote:
> On Aug 30, 3:35 pm, David Fanning <n...@idlcoyote.com> wrote:
>
>
>
>
>
>
>
>
>
>> polystethylene writes:
>>> I've checked the 8.0 help files for STRSPLIT - and the keyword is the
>>> same; the syntax for calling looks to be exactly the same, so what
>>> problem does IDL have with my code here?
>
>> Can't find it on your path? What does this tell you?
>
>> IDL> Print, File_Which('strsplit.pro')
>
>> Cheers,
>
>> David
>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Hi David,
>
> I get
>
> IDL> Print,FILE_WHICH('strsplit.pro')
> % Variable is undefined: FILE_WHICH.
> % Execution halted at: $MAIN$
> IDL>
>
> Which tells me the installation is messed up if IDL can't find its own
> resources. This sounds like a job for my sysadmin rather than you
> guys :)
>
> Thanks for the reply - I hadn't come across FILE_WHICH before, which
> goes to show I always learn something new every time I come here...
>
> Stef
Yeah, just confirmed it - was lacking a '+' in my export IDL_PATH line
my .bash_profile - didn't have the subdirectories on my path.
It's now accepting the strsplit lines, but not the READFITS - so I've
got to go on a hunt for the NASA IDL library.
Thanks again!
Stef
|
|
|
Re: Porting OS X IDL 7.0 to Linux IDL 8.0 [message #77437 is a reply to message #77436] |
Tue, 30 August 2011 07:42  |
polystethylene
Messages: 28 Registered: February 2009
|
Junior Member |
|
|
On Aug 30, 3:35 pm, David Fanning <n...@idlcoyote.com> wrote:
> polystethylene writes:
>> I've checked the 8.0 help files for STRSPLIT - and the keyword is the
>> same; the syntax for calling looks to be exactly the same, so what
>> problem does IDL have with my code here?
>
> Can't find it on your path? What does this tell you?
>
> IDL> Print, File_Which('strsplit.pro')
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Hi David,
I get
IDL> Print,FILE_WHICH('strsplit.pro')
% Variable is undefined: FILE_WHICH.
% Execution halted at: $MAIN$
IDL>
Which tells me the installation is messed up if IDL can't find its own
resources. This sounds like a job for my sysadmin rather than you
guys :)
Thanks for the reply - I hadn't come across FILE_WHICH before, which
goes to show I always learn something new every time I come here...
Stef
|
|
|
Re: Porting OS X IDL 7.0 to Linux IDL 8.0 [message #77439 is a reply to message #77437] |
Tue, 30 August 2011 07:35  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
polystethylene writes:
> I've checked the 8.0 help files for STRSPLIT - and the keyword is the
> same; the syntax for calling looks to be exactly the same, so what
> problem does IDL have with my code here?
Can't find it on your path? What does this tell you?
IDL> Print, File_Which('strsplit.pro')
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|