https://del.dog/tclError.txt
It has the code block for which the error was shown. Can you tell what can be done to solve it?
The correct code in VSC is attached