Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hex Vexation
Message
From
03/05/1998 09:02:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Hex Vexation
Miscellaneous
Thread ID:
00096588
Message ID:
00096588
Views:
58
I need some help with the data conversion aspect of a project I'm working on--specifically translating some packed numeric fields into their decimal equivalents. The data is in hex, so that for example, the number 4534 would be stored in the ASCII equivalent of two bytes, '45' and '34' (which shows up in the file as "E4"). I can use the Hexedit tool that comes with VFP to look at the data, but it's a compiled app and I need the algorithm it uses so that I can do mass conversions (we're talking thousands of records). I've looked in various online utility libs and found plenty of routines that do hex conversions, but they all deal with translating numbers back and forth, not characters. Help!

TIA,
Dale Leopold - MCSD
ElseWare
Dale G.Leopold - ElseWare
Microsoft Certified Solution Developer
Next
Reply
Map
View

Click here to load this message in the networking platform