Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HEX and OCTA
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00518642
Message ID:
00518921
Views:
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.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform