|
-
Oct 27th, 2002, 08:01 PM
#6
Hyperactive Member
I was checking the other thread too...and seems like you still need to add couples of hex values to get your individual results needed to be stored...right?
like
HEX---->DEC
0138----312
0208----520
and so on...
but you have 115 HEX values and 66 Fields to store data...anyway...
how I see it...you just nedd to use a HEX->DEC routine to convert the HEX data to a string that can be converted an Integer varType...
I think that I made one at the office a few months ago...
but the formula that I used to do the conversion was something like:
Value= y
Position of the value=X (from 0 to n, starting from the right, if zero use table)
y*16^x
HEX:0318
0 => 0*16^3 = 0
3 => 3*16^2 = 768
1 => 1*16^1 = 16
8 => 8*16^0 = 8
0 + 768 + 16 + 8 = 792
Is this of any help?
btw, I need to translate first the A thru F to their DEC value with a table
"Who Dares Wins" - "Quien se Arriesga Gana"
Mail me at: 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|