Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HEX and OCTA
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00518642
Message ID:
00518932
Vues:
9
>>I think you actually asked for hex to decimal. The eval(x) returns the decimal value of a hex val. The transform() converts a decimal integer to hex.
>
>Since VFP supports hex conversion normally, there's really no need to convert unless the value is already formatted as a string. By this I mean that you can assign a value directly (lnvar = 0xFF && 255) or as a defined constant.
>
>Octal's another story, altogether. That would have to be a string and have to be parsed to determine its value.


Yeah, but can you give me the hex val of 1,236,186 off the top of your head? < bg > I do know some sick people who can do this. < gd&r if you are one of those! >
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform