Re: End Statement Syntax Problem [message #48951] |
Wed, 07 June 2006 10:33  |
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  |
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/
|
|
|