Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Converting data from binary to numeric
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement