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

Home » Public Forums » archive » error
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
error [message #36067] Tue, 05 August 2003 20:45 Go to next message
mads is currently offline  mads
Messages: 15
Registered: January 2003
Junior Member
Hi all,
I get the following error when i compile the code in this segment :
"
m = {mcr, name:'kuusk2', leafOpticsModel2:'prospect', nComponents2:4, $
L2:0, sl2:0.15, clz2:1.0, eln2:2.0, thm2:35.0, slw2:90.0, nCoef2:0.9, $
nCellLayers:1.5, c12:0.43, c12FName:'chlorop3.dat', c22:80.0,
c22FName:'waterp3.dat', $
c32:0.6, c32FName:'drymatter.dat', c42:0.2, c42FName:'drymatter.dat', $
leafOpticsModel:'liberty', nComponents1:5, L1:0.5, sl1:0.15, clz1:1.0, $
eln1:3.0, thm1:15.0, SLW1:80.5, nCoef1:0.9, nCellLayers:1.25, dCell1:80.0,
$
iCellAir1:0.045, c11:0.68, c11FName:'chlorop3.dat', c21:101.0,
c21FName:'waterp3.dat', $
c31:7.6, c31FName:'drymatter.dat', c41:0.6, c41FName:'brownpigm.dat', $
c51:250.0, c51FName:'base.dat', th1, 37.3, phi:0.0, bAng:0.12, skyl:0.0, $
rsli:0.29, thsSoil:[0.130, 0.06, -0.04, 45.0], alpl:'angstr.dat',
price:'price.dat', $
mu:'refrind.dat', th2:0.0, wlMin:400.0, wlMax:2400, dwl:5.0, lmbda:486.0, $
thMin:-85.0, thMax:85.0, dth:3.0, lspec:'f', lad:'t'}

fmt = '(a, /, i2, /, 3(f5.2, 2x), /, 2(2(f3.0, 2x), /), f3.1, /, 4(f5.2, 2x,
a, /),$
a, /, i2, /, 3(f4.2, 2x), /, 2(2(f4.1, 2x), /), 3(f6.3, 2x), /, 5(f6.2, 2x,
a, /), $
4(5.2, 2x), /, 5(7.3, 2x), /, 3(a, /), 2(4(5.0, 2x), /), 2(a,2x), /)'
"
ERROR:

thMin:-85.0, thMax:85.0, dth:3.0, lspec:'f', lad:'t'}
^
% Conflicting or duplicate structure tag definition: <missing>.
At: /home/madhu/thesiswork/thesis.pro, Line 17

thMin:-85.0, thMax:85.0, dth:3.0, lspec:'f', lad:'t'}
^
% Conflicting or duplicate structure tag definition: <missing>.
At: /home/madhu/thesiswork/thesis.pro, Line 17

a, /, i2, /, 3(f4.2, 2x), /, 2(2(f4.1, 2x), /), 3(f6.3, 2x), /, 5(f6.2, 2x,
a, /), $
^
% Syntax error.
At: /home/madhu/thesiswork/thesis.pro, Line 20

What is the problem?
Thanks
M
Re: Error [message #80558 is a reply to message #36067] Mon, 25 June 2012 07:24 Go to previous messageGo to next message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
Hi,

I meant you should post the contents of the file C:\Users\fadaei\IDLWorkspace80\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)\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
Re: Error [message #80570 is a reply to message #36067] Sun, 24 June 2012 18:39 Go to previous messageGo to next message
hadi is currently offline  hadi
Messages: 33
Registered: June 2012
Member
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
Re: Error [message #80670 is a reply to message #36067] Tue, 26 June 2012 21:32 Go to previous message
hadi is currently offline  hadi
Messages: 33
Registered: June 2012
Member
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
Re: Error [message #80688 is a reply to message #36067] Tue, 26 June 2012 06:31 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: overwrite output to screen; unix vs windows
Next Topic: Re: @named_structure % Error opening file. File: named_structure

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

Current Time: Wed Oct 08 16:02:31 PDT 2025

Total time taken to generate the page: 0.00693 seconds