I am trying to implement a CRC16 function in order to test some software. VBA might not be the best language for this but it would be convenient to have the function right there in Excel. Anyway I have the spec for the CRC computation and I have my input string (hex) converted to a collection of 16-bit integers just fine. I'm at the part of the spec where I have to
Can someone help me get at the bits of an integer?
_________________
Bob Rashkin
Now, in other languages I have worked with, I would use a shift operator and have access to the bits that way. I looked through the help files but I couldn't find a corresponding VBA function or operator....check each bit in Temp one at a time, starting with the left-most bit. For each Temp bit equal to 1, perform the following...
Can someone help me get at the bits of an integer?
_________________
Bob Rashkin