Can someone please explain to me this line in ListViewInvertMoveIndicator()
of MemoPad?

for (i = 0; i < sizeof (CustomPatternType) / sizeof (*pattern); i++)
     {pattern[i]= 0xAA55;}

Here 0xAA55 = 1010 1010 0101 0101

What's the point of using 0xAA55 when pattern[i] is UInt8 only.

Also, why not just use

MemSet (&pattern, sizeof (CustomPatternType), 0x55);

/PaulN

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to