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

Home » Public Forums » archive » Re: @named_structure % Error opening file. File: named_structure
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
Re: @named_structure % Error opening file. File: named_structure [message #80669] Tue, 26 June 2012 21:57
hadi is currently offline  hadi
Messages: 33
Registered: June 2012
Member
On Tuesday, June 26, 2012 11:21:43 PM UTC+9, (unknown) wrote:
> On Tuesday, June 26, 2012 12:39:59 AM UTC-4, fada...@gmail.com wrote:
>> Hello everyone
>> i have problem to runnins this command. please guid me. Error is like this
>> IDL> @named_structure
>> % Error opening file. File: named_structure
>> Best, Hadi
>
> Hi Hadi,
>
> Whenever you get an error like this, you should also post the code by showing us the contents of the file (in this case that would be named_structure). It's not really possible to say what's wrong without seeing that file. But, I'd guess is that IDL is looking for a file named: named_structure.pro and cannot find it in your path. So, you need to either find the file or update your path to "see" this file. If you're using Mac or Linux, then you just need to update your IDL_PATH in your login file (ie. the .cshrc or .tcshrc or .bashrc etc.). But if it's windows, then someone else will have to help you... Sorry.
>
>
> Russell
Dear Russell
Thank you so much for your guidance. Thank you
Best, Hadi
Re: @named_structure % Error opening file. File: named_structure [message #80687 is a reply to message #80669] Tue, 26 June 2012 07:21 Go to previous message
Russell Ryan is currently offline  Russell Ryan
Messages: 122
Registered: May 2012
Senior Member
On Tuesday, June 26, 2012 12:39:59 AM UTC-4, fada...@gmail.com wrote:
> Hello everyone
> i have problem to runnins this command. please guid me. Error is like this
> IDL> @named_structure
> % Error opening file. File: named_structure
> Best, Hadi

Hi Hadi,

Whenever you get an error like this, you should also post the code by showing us the contents of the file (in this case that would be named_structure). It's not really possible to say what's wrong without seeing that file. But, I'd guess is that IDL is looking for a file named: named_structure.pro and cannot find it in your path. So, you need to either find the file or update your path to "see" this file. If you're using Mac or Linux, then you just need to update your IDL_PATH in your login file (ie. the .cshrc or .tcshrc or .bashrc etc.). But if it's windows, then someone else will have to help you... Sorry.


Russell
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: error
Next Topic: Problem in reading binary file

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

Current Time: Wed Oct 08 15:48:24 PDT 2025

Total time taken to generate the page: 0.00569 seconds