Author Topic: Need code debugger.  (Read 1522 times)

Everything *should* be case-insensitive (case-sensitive string operations excluded, of course.), so capitalizing package shouldn't be an issue.

function, package, and probably datablock declarations do need to be all lowercase. This can be shown simply by a few short entries in the console:

function test() {}
will work just fine, while
Function test() {}
will return a syntax error

Look in the console, it will have ##'s around the error.

Except sometimes it doesn't. Errors like missing or extra brackets or other misplaced keywords  tend to put the error markers further past where the error is, and in the case of an extra { near the start of a function, it can be _very_ far from the real problem.

Except sometimes it doesn't. Errors like missing or extra brackets or other misplaced keywords  tend to put the error markers further past where the error is, and in the case of an extra { near the start of a function, it can be _very_ far from the real problem.

Happens to me all the time. I don't trust error markers anymore.