Re: @named_structure % Error opening file. File: named_structure [message #80669] |
Tue, 26 June 2012 21:57 |
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  |
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
|
|
|