Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal to hexadecimal
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00402852
Message ID:
00402902
Views:
10
Hi George,

I jumped the gun when I saw function names that were very familiar, but when I checked again (_AFTER_ I had posted my message), I realized what you're saying.

GRRR.... Michel definitely will wait until I become the UT's clown before adding a much needed (at least for me) feature that would allow us to withdraw messages after we posted them (but _before_ anyone replies).

Thanks!

Alex

>>ARRGGHHH!!!! Think out of the box alex, think out of the stupid box!!!!!
>>
>>Thanks!
>>
>>Alex
>
>Whoa...that's not what BINTOC() and CTOBIN() do exactly. They convert a numeric value to a character string not an Intel understandable byte, word, or dword (binary). First, the order of the bytes is reversed. They're stored in memory from least to most significant byte order. BINTOC() and CTOBIN() work in most to least significant order. Second, the sign bit is reversed. In memory if the most significant bit is set the value may be negative (with a signed integer). In the string, it is not.
>
>>>BinToC() And CToBin()
>>>
>>>>That's a great little gem Nigel,
>>>>
>>>>What about Dec to binary and viceversa?
>>>>
>>>>Thanks!
>>>>
>>>>Alex
>>>>
>>>>
>>>>>Transform(). Try Transform(32, "@0") - @ZERO, not letter O.
>>>>>
>>>>>>Does VFP have function to convert Decimals values to Hexadecimals values?
Low-carb diet not working? Try the Low-food diet instead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform