Thank you very much … saved my life !!! God bless you

]]>XOR & AND only effect bits in the same bit position so if you can break the number into two parts you can just XOR or AND the parts separately. Without knowing how you are getting the data into VB without getting overflow erros I can’t be more specific.

]]>This is really great as I’m working on converting an algorithm coded in C to vbscript. I’ve tested your bit shift functions and they seem to work great. However, I seem constrained by the fact that all vbscript bitwise operations (XOR, AND) only use the integer data-type.

As I am working with numbers above 2,147,483,647 (though not by much) I can’t figure out how to do what should be relatively simple bitwise operations. I’m wondering if you’ve experienced this before and if you might have a solution. I’m sure there must be some way to divide the numbers up and perform operations on them, but I can’t wrap my head around it!

]]>