Would anybody care to explain how hex fields work?
Yes, I did search.
------------------
Quote
Originally posted by daimyo:
**Would anybody care to explain how hex fields work?
Yes, I did search.
**
You mean like the flags fields? They're simply base-16 numbers. The order of the digits are as follows:
0 1 2 3 4 5 6 7 8 9 A B C D E F
So A is 10, B is 11, C is 12, D is 13, E is 14, and F is 15. It doesn't take that long to get used to.
Ex:
Say you want to add the flags 0x0001, 0x0008, 0x0004, and 0x0200, the final result would be 1 + 8 + 4 + 200, or $020D (1 + 8 + 4 is 13, and recall that 13 is D).
------------------
Kevin Ballard
(url="http://"mailto:kevin@sb.org")mailto:kevin@sb.org(/url)kevin@sb.org
I just went back to a reply to a post I did on this topic (er, at least what this topic seems to be) and revised it a bit. You can find it (url="http://"http://cymlsol.cyml.cjb.net/evresflag.txt")here(/url).
I just whipped this up really fast, so I haven't made it into HTML; I'll do that sometime.
------------------
Mike Lee (Firebird)