Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I read a hex value from an ascii file
Message
De
29/11/1996 23:26:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00013211
Message ID:
00013855
Vues:
36
>
>John,
>
>1. Determine the position of the number in the record
>2. read the 7? characters as a character
>3. strip off the 5 last characters
>4. translate them in to decimal number 0..9 a=10 ... f=15
>5. take the first number, multiply it by 16^4, the second by 16^3 etc
>6. add all these numbers.
>7. Divide by 10^
>8. multply by -1 if the first character is C.
>
>If your specification is correct, and if I have not made any spec error,
>you should be OK.
>
>HTH,
>
>Marc

Marc:

Thanks so much for your assistance! This is beginning to make some sense.
JD
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform