Tim> C's || isn't Python's "or". x || y in C is like Python's Tim> (x and 1) or (y and 1) or 0 Tim> That is, || always returns a little bool-like integer in C, regardless of Tim> its operands' types. ...and in C++ it returns a bool. -- Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark