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

Home » Public Forums » archive » Re: End Statement Syntax Problem
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
Re: End Statement Syntax Problem [message #48951] Wed, 07 June 2006 10:33 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Farrey writes:

> We just installed PV-WAVE 8.0 on a Windows XP box. When I try to run
> existing scripts that work on Unix, syntax errors come up for any END
> statement of ENDIF, ENDELSE, etc.
>
> Even from the command line when I do a "wave help" command, their help
> script pops up syntax errors for any END* derivative. Since the PV-WAVE
> script errors out along with ones we made, that leads me to think it's
> something we did during install...any clues?
>
> I'm pretty green wrt PV-WAVE so this is likely a quick solution, thanks
> in advance.

I'm going to guess that whatever method you used to transfer
your .pro files from your UNIX machine to your Windows machine
didn't adequately take into account the differences in
end-of-line characters. I suspect you have run-on lines that
are causing you all the problems.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: End Statement Syntax Problem [message #49041 is a reply to message #48951] Thu, 08 June 2006 12:42 Go to previous message
Michael  Farrey is currently offline  Michael Farrey
Messages: 2
Registered: June 2006
Junior Member
Thanks David,
In case anyone has a similar issue unresolved, it appears when I put
an & character in front of the end* statements that it compiles as
expected. So it looks like your guess is pretty reasonable.
Mike

David Fanning wrote:
> Michael Farrey writes:
>
>> We just installed PV-WAVE 8.0 on a Windows XP box. When I try to run
>> existing scripts that work on Unix, syntax errors come up for any END
>> statement of ENDIF, ENDELSE, etc.
>>
>> Even from the command line when I do a "wave help" command, their help
>> script pops up syntax errors for any END* derivative. Since the PV-WAVE
>> script errors out along with ones we made, that leads me to think it's
>> something we did during install...any clues?
>>
>> I'm pretty green wrt PV-WAVE so this is likely a quick solution, thanks
>> in advance.
>
> I'm going to guess that whatever method you used to transfer
> your .pro files from your UNIX machine to your Windows machine
> didn't adequately take into account the differences in
> end-of-line characters. I suspect you have run-on lines that
> are causing you all the problems.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLgrLegend and ENABLE_FORMATTING
Next Topic: Adding values to a string

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

Current Time: Wed Oct 08 19:17:05 PDT 2025

Total time taken to generate the page: 0.00666 seconds