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:
00518921
Vues:
10
>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.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform