T
Tad McClellan
John Bokma said:I quote:
"Some hexadecimal numbers are indistinguishable from a decimal number (to
both humans and computers). Therefore, some convention is usually used to
flag them."
"In mathematics and computer science, base-16, hexadecimal, or simply hex,
is a numeral system with a radix or base of 16 usually written using the ^^^^^^^
symbols 0–9 and A–F or a–f."
which agrees with my earlier post,
No it doesn't.
A "numeral" is not the same as a "number",
just as a "letter" is not the same as a "word".
and shows that hex number is ok (if we
can trust the quoted source, that is).
No, it shows that hex _numeral_ is OK.
And note that NONE of the OP's code in this thread is using
a base 16 numeral system.
hara> @result=1101
base 10.
hara> $res=00000000001000000000000000000000
hara> $res=00200000
base 8.
So, we are all flailing around trying to help this person and we
don't even know if he wants to manipulate bits (a number) or
manipulate characters (the representation of a number).
It would be nice if hara would tell us which one it is so that
we can flail in new directions...