Thanks, you guys are great and most helpful.
>The 0x is a prefix for hexadecimal literals. The hexadecimal literals could be used anywhere FoxPro expects numeric expression. For example,
? 0x6C = 108
>
>>Not sure. I assume the 6C is the hex. What is "0x"? Not familiar with this "0x6C" format. Did not see anything under VFP Chr help.
>>
>>>Hi Mike,
>>>
>>>Would this work for you?
ReturnValue = CHR(0x6C)
>>>
>>>>Working on credit card authorizaiton program that requires bitmap settings. Looking for a sample or a function to convert Hex or Binary to Chr. I have to set bits to 0 or 1 based on the program requirements and have to send back the matching character.
>>>>
>>>>Example:
>>>>
>>>>ReturnValue = HexToChr("6C")
>>>>ReturnValue = BinToChr("01101100")