Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hex / Binary to Asc
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00883959
Message ID:
00883967
Vues:
12
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")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform