Is anyone familiar with browser error messages reporting a problem, but giving the wrong line number?
I can only guess this started happening as my code has gotten more complicated. It’s obviously frustrating due to the extra time needed to find the problem in a different line
Sometimes the ChoiceScript interpreter will throw an error for one line due to a more silent issue on a preceding line, further up in your code.
This is usually a logical error, for example, if you’ve forgotten to include a *goto_scene at a certain point, the code will “fall through”, which is valid, but not intentional. This would then throw an error if later down the line it encountered a variable that wasn’t defined (as it wouldn’t usually need to be, had the code taken the other route).
EDIT: Just seen your screenshots, in that circumstance, try opening it in another code editor? How far out is the line?
Give me a second - takes a moment to open (oh, and I believe in some circumstances its been more than 1 line. I’ll see if I can make it give me an example)
Can’t say I have personally. Maybe one line off, but that can be down to something as simple as whether an application starts at line 1 or line 0 etc. Sorry I can’t be of much help there!