Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting data from binary to numeric
Message
De
31/01/2003 08:13:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Converting data from binary to numeric
Divers
Thread ID:
00747607
Message ID:
00747607
Vues:
49
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform