For example, the function:
private int ABS(int i)
{
if(i <= 0) return (-1 * i);
else return i;
}
inside of a class returns the error mentioned above when called (from a public function within the class of course).
Is there any reason why it is doing this, or are private functions of any type other than "void" not supported? The page in the AngelScript manual about private functions ( http://www.angelcode...ss_private.html )doesn't say anything against this, so I don't see why this shouldn't be allowed. I know I can get around it by using refrence peramaters, but that can get a bit obnoxious in a lot of cases.