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

Home » Public Forums » archive » Re: change in syntax for version 6?
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: change in syntax for version 6? [message #40156 is a reply to message #40151] Sat, 17 July 2004 15:49 Go to previous messageGo to previous message
aramisgm is currently offline  aramisgm
Messages: 4
Registered: December 2003
Junior Member
David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1b623a2f1633774d9897dd@news.frii.com>...
> Aramis Martinez writes:
>
>> I have some code I haven't touched since last summer. In the meantime
>> the IDL installation I have access to has been upgraded to version
>> 6.0.3 (linux x86 32). on Red Hat I think. In my code there are eleven
>> system calls of the following type:
>>
>> position=aspect_mp(aspect,loc(0),loc(1),$
>> potloc(0),potloc(1),margin=margin)
>>
>> , with margin=0.12 given at the start of the program. The argument
>> "margin=margin" now causes a syntax error for each of the eleven calls
>> during compilation. The code worked just fine beforehand, and the only
>> thing that has changed (as far as I know) is IDL version. I've googled
>> the things I can think of, syntax changes, changes to position, etc
>> but don't want to waste more time here. Does anyone have an idea?
>
> I notice you have hidden the hole card from us and won't tell
> us the error message, so I'm only going to bet $5. But my
> guess is your program ASPECT_MP, which isn't an RSI-supplied
> command, is not on your path.
>
> Where to I cash in my chips? :-)
>
> Cheers,
>
> David

Well, the command

.COMPILE '/data/aramisgm/research/summer2003/rcm28u.pro'

results in the error

potloc(0),potloc(1),margin=margin)
^
% Syntax error.
At: /data/aramisgm/research/summer2003/rcm28u.pro, Line 313

potloc(0),potloc(1),margin=margin)
^
% Syntax error.
At: /data/aramisgm/research/summer2003/rcm28u.pro, Line 328

birkloc(0),birkloc(1),margin=margin)
^
% Syntax error.
At: /data/aramisgm/research/summer2003/rcm28u.pro, Line 357

vmloc(0),vmloc(1),margin=margin)

.
.
.

(eleven syntax errors, once per call), which is certainly enough info
to find the problem*. Thanks for pointing the way.

Aramis

*problem: user forgetting basics while desparately trying not to fail
out of grad school =)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Where does ENVI store its color lookup tables?
Next Topic: Problems ... again ...

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

Current Time: Fri Oct 10 22:41:37 PDT 2025

Total time taken to generate the page: 0.72080 seconds