Log In  


I had a syntax error due to an unclosed paren, and the error message tried to help by telling me the line number of the unclosed opening paren, but the line number was a fraction:

SYNTAX ERROR LINE 54
<EOF>
')' EXPECTED (TO CLOSE '(' AT LINE 0.0008621) NEAR 'THEN'

The actual line number of the opening paren was 53 (9 chars in). Lines 53 and 54 were:

      if ((neighbors == 3) or
          ((get(cur_base,x,y)==7) and (neighbors == 2)) then

I can repro this with an empty file and just these two lines with a closing "end" statement (getting a line number of 5.341e-05).




[Please log in to post a comment]