Quote Originally Posted by Darrel Taylor View Post
Thanks Mike.

Nope, not even a +=

However, your x = (x+1)&7 takes much less time than my x = (x + 1) // 8 (Modulus) approach.
What was I thinking?

Cool, thanks!
DOH!!! The problem with working with so many different languages is that you can misread code. I took " //8 " to be a comment (Javascript style) that you were going to do it 8 times LOL