Wasn't it Warp who wrote:
>
> Code repetition is one of the biggest sins in programming.
>
> How about this (it has the advantage to support both uppercase and
>lowercase hexadecimal numbers, ie. "c2Ab0F" is ok):
Looks good, and only needs a couple of tiny fixes for it to give the
correct results.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|