Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hex / Binary to Asc
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00883959
Message ID:
00883967
Views:
11
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")
Previous
Reply
Map
View

Click here to load this message in the networking platform