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:
00518932
Views:
8
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform