>No. That wouldn't be my idea of fun. I simply started wtih the PowerBasic version of an include file that had those constants defined as noted in my original message. This file was included with RMChart's samples.
>
>I'm assuming that PowerBasic (in combination with RMChart) somehow handled those definitions correctly and VFP cannot without removing the leading FFs.
0xFFF0F8FF is an integer with decimal value of -984833 but VFP interprets it as 4293982463. As I showed in one of the previous messages, BITAND(0xFFF0F8FF, 0xFFFFFFFF) takes care of that problem by correctly casting the value to the integer.
--sb--