I'm trying to pass 2 bitarrays to a function that ANDs the bitarrays and returns the count of bits that are set to TRUE.
However, something strange happens when I reference the bitarray from within the function and the results are non-sensical.
So I have output the bitarray contents before it is passed to the functionand they match the source data, then I output the contects of the bitarray from within the functiona and they are completely different.
I can't figure out for the life of me what's happening? Any help on this would be greatly appreciated.
However, something strange happens when I reference the bitarray from within the function and the results are non-sensical.
So I have output the bitarray contents before it is passed to the functionand they match the source data, then I output the contects of the bitarray from within the functiona and they are completely different.
I can't figure out for the life of me what's happening? Any help on this would be greatly appreciated.