My .02: The ~ is a unary operator. That means that a ~= n gives you a valid answer already. Using it as a power operator would break lots of code! (Look in The C++ Programming Language (2nd edition) on page 496-7) Thanx for your time... Carlos Valcarcel