View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 07-25-2010 , 18:37   Re: error 010
Reply With Quote #13

Quote:
Originally Posted by Bacardi View Post
Error
Plugin_name.sp(#) : error 010 : invalid fuction or declaration


This happen when file have saved different character encoding (Those are ASCII, UTF-8, ANSI etc. etc.).
This error appears when *.sp file have encoded to UTF-8 instead ANSI


Can be check with notepad++ and convert to other encode.
Can convert with notepad using save as... method


FIX
Convert file to ANSI


*edit
I have maybe write bullsh*t but anyone is free to explain this in more detail.
The compiler error in the screenshot is from UTF-8 with BOM.
Both UTF-8 without BOM and ANSI are fine.
psychonic is offline