Don't use ^ for exponentiation (what a complicated word!) - you'll find that it's already used for exclusive or. Tom Gulvin AT&T - Holmdel