Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I read a hex value from an ascii file
Message
From
29/11/1996 23:26:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00013211
Message ID:
00013855
Views:
32
>
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform