Re: A strange error message.

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 7 Mar 2006 16:47:40 -0700 (MST)

Hi Yi,

I'm not sure why NCL is reporting "-1" as a line number. I think NCL
has always been off by one when it reports line numbers (something
that is on our list to fix).

In your case, maybe NCL wants a carriage return after the "end"
statement. Please try this and let me know if it doesn't work.

--Mary

On Tue, 7 Mar 2006, Yi Wang wrote:

> Hi Guys:
>
> I got a strange error message as follows:
>
> "fatal:syntax error: line -1 before or near
> end
> ---^
>
>
> fatal:error in statement"
>
> I wonder where is line -1. I clear all the space after "end". It does not
> help.
>
> Yi Wang PhD
> Center for Climatic Research
> University of Wisconsin-Madison
> 1225 West Dayton Street
> Madison, WI 53706-1695
> USA
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 07 2006 - 16:47:40 MST

This archive was generated by hypermail 2.2.0 : Tue Mar 07 2006 - 20:34:59 MST