> I'm taking the highest two bits, whatever > the integer word size may be. I'm not sure that's a good idea. Future growth may require other bits in fixed positions and it would be a bummer to have to dodge Tismer's jumping bits ;-) Raymond Hettinger