in reply to Syntax error near Print

Check if semicolon present at the end of line above the "print"