On Thu, Jan 23, 2003 at 05:10:05PM +0100, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
I think that
mixed x = foo(); if(zero_type(x)) { werror("No value\n"); } else { werror("The value is %O\n", x); }
I think that:
if(x == VOID) { werror("No value\n"); } else { werror("The value is %O\n", x); }
is even better :)
Regards, /Al