Error 22

void functions cannot be used as operands

A function returning nothing cannot be used as an operator, e.g.

This does not work:

d = if ( a > b );

"if" is not a function, it is used for conditional statements:

if ( a > b )

{
// do this
}

else

{
// do that
};

Xpressionist 3