Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting data from binary to numeric
Message
From
31/01/2003 08:13:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Converting data from binary to numeric
Miscellaneous
Thread ID:
00747607
Message ID:
00747607
Views:
47
Hi,

I am decoding a data file create with C for DOS, wich has binary data fields
of 1, 2, 4 and 8 bytes of length, some of the signed and others unsigned
(integer, double, floating point,etc)

as far as I know VFP has no fucntions to convert the content of a text
string from binary to numeric format, so I have develped an small program to
convert them using the command BITTEST(), however, I am in trouble with
signed fields because I don't remember the format, something about
complements;

does anybody knows where to download a routine to do it or a socument
explaining the format of suck kind data fields?

thanks in advance

Oscar
Next
Reply
Map
View

Click here to load this message in the networking platform