Baffling script error
Posted: Sun Mar 05, 2023 7:47 pm
My stack of many hundreds of hours work was working just fine, then a script error has popped up that I can't make sense of. The error message is "compilation error at line <number> (Chunk: can't create a variable with that name..." (see attached)
If I comment out that line the error goes to the next perfectly good line of code.
If I comment out the entire handler the error goes to the first perfectly good line of the next perfectly good handler.
If I comment out the entire 2700+ lines of code in the stack script except for the "on" and "end" lines of the handler and a single line of code the error is still there on that single line of code. If I swap out the process with another line of code in that handler the error is still there.
I have no idea how to solve this. Is it corruption?
Bruce
If I comment out that line the error goes to the next perfectly good line of code.
If I comment out the entire handler the error goes to the first perfectly good line of the next perfectly good handler.
If I comment out the entire 2700+ lines of code in the stack script except for the "on" and "end" lines of the handler and a single line of code the error is still there on that single line of code. If I swap out the process with another line of code in that handler the error is still there.
I have no idea how to solve this. Is it corruption?
Bruce