Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Algorithm for converting hex-string in dec-string.
Message
From
08/05/2002 00:47:29
 
 
To
07/05/2002 08:34:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00653419
Message ID:
00653854
Views:
18
>transform(val,"@0") converts from DEC to HEX.
>eval("0x" + alltrim(hex_string)) converts from HEX to DEC.
set quibble on
transform(val,"@0") converts from an internal binary representation to a HEX string
eval("0x" + alltrim(hex_string)) converts from a HEX string to an internal binary representation
? numvar converts from an internal binary representation to a decimal sring and prints to the current output device
>
>Which conversion you need - DEC to HEX or HEX to DEC???
Previous
Reply
Map
View

Click here to load this message in the networking platform