Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hex string to decimal conversion
Message
From
14/06/2004 10:48:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Hex string to decimal conversion
Miscellaneous
Thread ID:
00913462
Message ID:
00913462
Views:
59
Dear all,

When I try to convert some string values (in hex) into decimal I got this problem:

* note the lowest byte of aaa and bbb are different

aaa = '0x4530594B534652'
bbb = '0x4530594B53464E'

MESSAGEBOX(EVALUATE(aaa) = EVALUATE(bbb))

At this point both aaa and bbb are evaluated to the same decimal value (19474933467006540), and the messagebox display .T. for me of course.

I wonder if anyone has seen this before? Would really appreciate if a work around can be suggested. Thanks in advance!

Cheers
Next
Reply
Map
View

Click here to load this message in the networking platform