I see that NOT behaves as expected when using bitwise operations on what is passed into it.

Not 0 is the same as Not 00000000 (bits) where Not "0" really equals Not 00110000 (bits) which truly is not "Not 0". [Wink]
_________________________
Home page: http://www.kixhelp.com/hb/