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

Home » Public Forums » archive » Error Handling - Emailing
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: error [message #36060 is a reply to message #35053] Wed, 06 August 2003 15:16 Go to previous messageGo to previous message
andrew.cool is currently offline  andrew.cool
Messages: 47
Registered: July 2003
Member
"mads" <mads@mschumacher.com> wrote in message news:<bgpub7$34s$1@nntp.msstate.edu>...
> "mads" <mads@mschumacher.com> wrote in message
> news:bgptgt$2qm$1@nntp.msstate.edu...
>> 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), /)'
>> "

> But the error below is still on..............
>
>> 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?

The problem is that you're trying to cram too much onto one line, just like
you are in your structure definition... ;-)

Why not :-


fmt = '(a, /, i2, /, 3(f5.2, 2x), /, 2(2(f3.0, 2x), /), f3.1,)'

fmt = fmt + '(/, 4(f5.2, 2x,a, /),a, /, i2, /, 3(f4.2, 2x), /,)'

fmt = fmt + '( 2(2(f4.1, 2x), /), 3(f6.3, 2x), /, 5(f6.2, 2x, a, /))'

fmt = fmt + '(4(5.2, 2x), /, 5(7.3, 2x), /, 3(a, /))'

fmt = fmt + '(, 2(4(5.0, 2x), /), 2(a,2x), /)'


But why such a whooping great format statement anyway?!?!


Andrew

------------------------------------------------------------ --------------------
Andrew D. Cool
Electromagnetics & Propagation Group
Intelligence, Surveillance & Reconnaissance Division
Defence Science & Technology Organisation
PO Box 1500, Edinburgh
South Australia 5111

Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ --------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL variables
Next Topic: Calling C++ from IDL - update

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

Current Time: Mon Dec 01 20:16:15 PST 2025

Total time taken to generate the page: 1.92946 seconds