Help, cant find 'undefined control sequence' error in tex script. I run my script frequently and thought I just added sentence and it now cant typeset the script, with error 'undefined control sequence'.
I've looked at line 63 mentioned at the bottom of the error but its fine. commented out all lines near there at the error appeared. Does anyone know what the @wri means? Really appreciate any thoughts as a deadline is coming up!

Assignment.auxnot line 63 of your document source. the command is supposed to be\@writeline{...}but the line has truncated and just has\@wriwhich is undefined. – David Carlisle Nov 08 '21 at 23:15