boolean function example(int x)
{
var boolean b;
b = x+1;
return b;
}
yields an error at the line b = x+1;, because the type of b does not match the type of x+1. Note that the error occurs when Fabl analyzes the definition of the function ("compile time"), not at run time.