I just got the following error when saving my script:
Error number: -2146827282
Event: Execution of line 1577 column 20
Description: Expected ')'
Called by: Immediate execution
The problem for me, is that I just added a whole pile of subroutines into the script, and the error code given above only serves as an "approximation" of where the error is located. Why do I say that?
The line number does NOT count comment lines. By line 15xx, I have very many comment lines in my script.
I would like to suggest:
The error handler count comment lines, thus giving an accurate event location.
OR
The error handler echoes the error line.
I realize that the first suggestion may not be practical/possible, because the error occurs during compilation... and there is no point looking at comment lines during compilation. Heopfully, you could at least implement the second option though...
Error number: -2146827282
Event: Execution of line 1577 column 20
Description: Expected ')'
Called by: Immediate execution
The problem for me, is that I just added a whole pile of subroutines into the script, and the error code given above only serves as an "approximation" of where the error is located. Why do I say that?
The line number does NOT count comment lines. By line 15xx, I have very many comment lines in my script.
I would like to suggest:
The error handler count comment lines, thus giving an accurate event location.
OR
The error handler echoes the error line.
I realize that the first suggestion may not be practical/possible, because the error occurs during compilation... and there is no point looking at comment lines during compilation. Heopfully, you could at least implement the second option though...