How to debug in Version 4?

Does anyone know a trick to debug in version 4?

I keep getting a error message “syntax error, unexpected COMMA, expecting EQUAL” after a run my code. What I want is to see in which line of the code the problem is exactly.

Even when I get rid off of all COMMA’s in my mod file, I still get this message.

P.S.: when I run the same code in version 3 and it works perfectly.

Any thoughts will be appreciated.


Just before the error message, you should have an indication of the line and column numbers where the error was triggered.

It is something of the form: “x.y-z” where x is the line number, y and z are column numbers indicating the beginning and the end of the faulty piece of code.



Hi Sébastien,

Thanks a lot for your help.