Silverfrost Forums

Welcome to our forums

unmatched brackets and other mysteries

19 Jul 2010 4:41 #6644

Since converting to Windows 7 (64bit), programs than ran fine previously now will not compile.

The following code (in a *.for file) yield = yield + quartic(upper,c(i,1),c(i,2),c(i,3),c(i,4)) + - quartic(lower,c(i,1),c(i,2),c(i,3),c(i,4)) gets an 'unmatched right bracket(s)' error for the second line. The editor can find the matching brackets using Ctrl-].

Using Plato I get two of these errors. Using MS Visual STudio 2008 on the same code I get three and in addition

  • one instance of failure to recognize a '+' in col 6 as valid (fine elsewhere)
  • nesting errors for IF/THEN/ELSE/ENDIF nested in a DO loop that are clearly fine.

Any idea what is happening?

19 Jul 2010 5:21 #6645

Check to see if there are any tab characters and convert them to spaces.

19 Jul 2010 6:47 #6647

Thanks. That worked.

Please login to reply.