View Single Post

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

Originally Posted by Bacardi View Post
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

Convert file to ANSI

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