The syntax in your examples are wrong. You cannot apply the value 0 to the function, you can only test the return value with an IF or some other construct.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.