[ka-Map-users] way to version 1.1
Daniel Morissette
dmorissette at mapgears.com
Thu Aug 30 11:28:57 EDT 2007
Steve Lime wrote:
> I like it. I wish one didn't have to know hex notation but this seems really flexible otherwise.
>
Well, hex is not mandatory... I guess we could also use decimal
notation, ex:
4.10.3 = 4*1000000 + 10*1000 + 3 = 4010003
It's just that if one makes the mistake of using leading zeros to make
it "look good" with 9 digits (e.g. "004010003") then they end up in an
octal number and comparisons will fail. That's probably why I have a
tendency to use hex instead of decimal for this kind of stuff since the
leading zero (e.g. 0x040a03) is perfectly fine in hex notation.
What do others think? Decimal or hex?
Daniel
--
Daniel Morissette
http://www.mapgears.com/
More information about the ka-Map-users
mailing list