Here are a couple of other links to bit shifting threads:
bit shifting 2�s compliment hope they help, or if you have a specific question post that here...
------------------
Dave
Sun Certified Programmer for the Java� 2 Platform
Links show up better if you use the [ url][ /url] tags instead of < a href> tags. - Marilyn [This message has been edited by Marilyn deQueiroz (edited October 10, 2001).]