28-10-2008, 07:10 AM
JokeofWeek Wrote:Thus, ZeroMemory is much fasterJust wanted to test it out
Don't get too excited

So if you did an AND bitwise operation to any data type with &h0 (if not then &h0& which bitmasks as long) you should clear it much faster. :wink:
EDIT:
Oh yeh or if you do a XOR to itself.
Long Xor Long = 0. I'm not sure if you can Xor Byte Arrays in VB i can't be bothered checking tho.
