Do a search on the forum for questions asking about errors in lines that appear OK.
Generally the reason is that there is something wrong several lines earlier. Possibly even in the file that loads this one, and the compiler flags the error, when it can no longer 'cope', rather than where the fault actually exists.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum