>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
VFP is only good for about 15 digits of decimal precision. Your hex values exceed that and are larger than a 32 bit value. Are you sure you're not trying to convert a hexidecimal representation of a character string value? ("E0YKSFR" and "E0YKSFN")