Then it seems that you would agree with mast that 0 shouldn't be false either. I'm not sure what your definition of "empty datatype" is, but if 0.0 is included then I expect 0 would be as well.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-09-15 20:24: Subject: float type weirdness
I disagree. Empty datatypes in pike are not false, as they are in some other langauges. "", (<>), ({}) and ([]) are not false, and so should not 0.0 be either.
/ Martin Nilsson (saturator)