Error #3

  • Follow


hi evetyone
I can not understand about a error that always is happened after i am writing a command. Like this error
% Error occurred at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
% Execution halted at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
please help me how i can solve. Thank you
Hadi
 
0
Reply fadaei.hd (28) 6/22/2012 2:18:43 AM

On Thursday, June 21, 2012 10:18:43 PM UTC-4, fada...@gmail.com wrote:
> hi evetyone
> I can not understand about a error that always is happened after i am writing a command. Like this error
> % Error occurred at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
> % Execution halted at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
> please help me how i can solve. Thank you
> Hadi

I suggest opening up startup.pro and posting line 1. If we can see the code, we might be able to tell what the error is.
0
Reply iamandysayer (10) 6/22/2012 2:54:29 PM


On Friday, June 22, 2012 11:54:29 PM UTC+9, Andy Sayer wrote:
> On Thursday, June 21, 2012 10:18:43 PM UTC-4, fada...@gmail.com wrote:
> > hi evetyone
> > I can not understand about a error that always is happened after i am writing a command. Like this error
> > % Error occurred at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
> > % Execution halted at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
> > please help me how i can solve. Thank you
> > Hadi
> 
> I suggest opening up startup.pro and posting line 1. If we can see the code, we might be able to tell what the error is.
Dear Andy
I opened as you are suggested. I past the all command here. Please see it. Thank you
IDL> startup

% End of file encountered before end of program.
  At: C:\Users\fadaei\IDLWorkspace80\IDL\bowman\startup.pro, Line 36
% 1 Compilation error(s) in module $MAIN$.

% End of file encountered before end of program.
  At: C:\Program Files (x86)\ITT\IDL\bowman\startup.pro, Line 36
% Compiled module: STARTUP.
% Attempt to call undefined procedure/function: 'STARTUP'.
% Error occurred at: $MAIN$              1 C:\Users\fadaei\IDLWorkspace80\IDL\bowman\startup.pro
% Execution halted at: $MAIN$              1 C:\Users\fadaei\IDLWorkspace80\IDL\bowman\startup.pro
IDL> 
Regards, Hadi 

0
Reply fadaei.hd (28) 6/25/2012 1:39:05 AM

Hi,

I meant you should post the contents of the file C:\Users\fadaei\IDLWorkspa=
ce80\IDL\bowman\startup.pro , as that seems to be what is causing the error=
, and without seeing the code we can't see why it is causing an error. From=
 this message, if might just be you need to add an 'end' at the end.

Hope this helps,

Andy

On Sunday, June 24, 2012 9:39:05 PM UTC-4, fada...@gmail.com wrote:
> On Friday, June 22, 2012 11:54:29 PM UTC+9, Andy Sayer wrote:
> > On Thursday, June 21, 2012 10:18:43 PM UTC-4, fada...@gmail.com wrote:
> > > hi evetyone
> > > I can not understand about a error that always is happened after i am=
 writing a command. Like this error
> > > % Error occurred at: $MAIN$              1 C:\Program Files (x86)\ITT=
\IDL\bowman\startup.pro
> > > % Execution halted at: $MAIN$              1 C:\Program Files (x86)\I=
TT\IDL\bowman\startup.pro
> > > please help me how i can solve. Thank you
> > > Hadi
> >=20
> > I suggest opening up startup.pro and posting line 1. If we can see the =
code, we might be able to tell what the error is.
> Dear Andy
> I opened as you are suggested. I past the all command here. Please see it=
.. Thank you
> IDL> startup
>=20
> % End of file encountered before end of program.
>   At: C:\Users\fadaei\IDLWorkspace80\IDL\bowman\startup.pro, Line 36
> % 1 Compilation error(s) in module $MAIN$.
>=20
> % End of file encountered before end of program.
>   At: C:\Program Files (x86)\ITT\IDL\bowman\startup.pro, Line 36
> % Compiled module: STARTUP.
> % Attempt to call undefined procedure/function: 'STARTUP'.
> % Error occurred at: $MAIN$              1 C:\Users\fadaei\IDLWorkspace80=
\IDL\bowman\startup.pro
> % Execution halted at: $MAIN$              1 C:\Users\fadaei\IDLWorkspace=
80\IDL\bowman\startup.pro
> IDL>=20
> Regards, Hadi
0
Reply iamandysayer (10) 6/25/2012 2:24:12 PM

In article <eac08aad-f595-4dc2-a007-db7902270a01@googlegroups.com>,
 fadaei.hd@gmail.com wrote:

> hi evetyone
> I can not understand about a error that always is happened after i am writing 
> a command. Like this error
> % Error occurred at: $MAIN$              1 C:\Program Files 
> (x86)\ITT\IDL\bowman\startup.pro
> % Execution halted at: $MAIN$              1 C:\Program Files 
> (x86)\ITT\IDL\bowman\startup.pro
> please help me how i can solve. Thank you
> Hadi
>  

It looks like you are trying to use the sample startup.pro file
from my book.

   http://csrp.tamu.edu/downloads/idl/startup.pro

This file is not an IDL procedure, so you cannot run it at the
command line like this

   IDL> startup

It can be executed as an IDL script, like this

   IDL> @startup

but normally it is set to run automatically when starting IDL
(hence the name startup.pro), either by setting a system variable
for the shell (for Linux or OS X), or by setting an IDL preference.

I have no experience running IDL on Windows, but I assume that
you are running using the IDL Development Environment (DE).  If so,
look at the preferences options in the DE.

You may need to make some changes in the startup.pro file to
be consistent with your set up.  For example, the startup.pro
file expects to find an "idl" directory, not an "ITT/IDL" directory.

Perhaps some Windows experts can help here.

Ken Bowman
0
Reply k-bowman5971 (289) 6/25/2012 3:11:12 PM

On Friday, June 22, 2012 11:18:43 AM UTC+9, fada...@gmail.com wrote:
> hi evetyone
> I can not understand about a error that always is happened after i am writing a command. Like this error
> % Error occurred at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
> % Execution halted at: $MAIN$              1 C:\Program Files (x86)\ITT\IDL\bowman\startup.pro
> please help me how i can solve. Thank you
> Hadi

Dear Bowman
Thank you for your response, I dont know about someonethat are professional in winodows enviroment. I hope to find it. I just started to learning newley. Do you have any suggestion for beginner. Thank you
Best, Hadi
0
Reply fadaei.hd (28) 6/26/2012 12:16:54 AM

In article <303d7e08-abd6-46ee-bbc3-138e58556104@googlegroups.com>,
 fadaei.hd@gmail.com wrote:

> Dear Bowman
> Thank you for your response, I dont know about someonethat are professional 
> in winodows enviroment. I hope to find it. I just started to learning newley. 
> Do you have any suggestion for beginner. Thank you
> Best, Hadi

Getting started with a new computer system is always the hardest part.
My best advice is to try to find someone local who can help.  If there is
no one you can ask, you can post questions here, but try to be as specific,
clear, and detailed as possible.

Best of luck,

Ken Bowman
0
Reply k-bowman5971 (289) 6/26/2012 1:31:03 PM

On Tuesday, June 26, 2012 10:31:03 PM UTC+9, Kenneth P. Bowman wrote:
> In article <303d7e08-abd6-46ee-bbc3-138e58556104@googlegroups.com>,
>  fadaei.hd@gmail.com wrote:
> 
> > Dear Bowman
> > Thank you for your response, I dont know about someonethat are professional 
> > in winodows enviroment. I hope to find it. I just started to learning newley. 
> > Do you have any suggestion for beginner. Thank you
> > Best, Hadi
> 
> Getting started with a new computer system is always the hardest part.
> My best advice is to try to find someone local who can help.  If there is
> no one you can ask, you can post questions here, but try to be as specific,
> clear, and detailed as possible.
> 
> Best of luck,
> 
> Ken Bowman

Dear Bowman
Thank you so much for your advice.
Best, Hadi
0
Reply fadaei.hd (28) 6/27/2012 4:32:06 AM

7 Replies
56 Views

(page loaded in 0.121 seconds)

Similiar Articles:













7/11/2012 10:50:53 PM


Reply: