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

Home » Public Forums » archive » Re: IDL v8 not recognizing bash environment variable
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: IDL v8 not recognizing bash environment variable [message #75800 is a reply to message #75799] Tue, 03 May 2011 03:20 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Am 27.04.2011 19:57, schrieb Barry Lesht:
> Not sure I'm expressing this correctly in the subject line - this is
> my problem: I have a code that ran fine under IDL7 that included the
> line "sta_list = READ_ASCII("$SEADAS/local/stationfile.txt,"
> TEMPLATE=stationtemplate). I just tried running the same code under
> IDL8 and now get the error message

I tried with idl7.1

IDL> print,"$HOME"

and it just tells:
$HOME

I don't remember that it ever worked without using getenv function.

Reimar

>
> % READ_ASCII: File "$SEADAS/local/stationfile.txt" not found.
>
> The file is most definitely where it should be. After doing some
> experimenting, it seems IDL8 isn't getting any value for the $SEADAS
> variable.
>
> I hope someone can explain to me why not and how to fix it?
>
> Thanks.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Support Vector Machine Classification by IDL
Next Topic: IDL 8 uses 3x the memory of IDL 7.1

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

Current Time: Sat Oct 11 12:40:58 PDT 2025

Total time taken to generate the page: 0.79972 seconds