Recently I got an issue with compiling the object in NAV2016, I am getting the below error while compile the object .
---------------------------
Microsoft Dynamics NAV Development Environment
---------------------------
There is a syntax error.
---------------------------
OK
---------------------------
But when I check the code everything seems to correct as show below
---------------------------
Microsoft Dynamics NAV Development Environment
---------------------------
There is a syntax error.
---------------------------
OK
---------------------------
But when I check the code everything seems to correct as show below
Now I copied the code in notepad++ and found some special characters as shown below