Ken Adam wrote:
> The point is that the QUESTIONS mean different things.
> The OP was asking a simple decimal multiplication question, but seemed
> to think that
> bytes had to be counted in octal for some reason.
> As Francois said - you can use any base you like (as long as you are
> consistent).
> By convention most of us usually like decimal for this type of
> calculation, in which
> The simple answer to the OP's question was "No, you do not need to
> convert 36 to base 10
> or the answer to base 8".
> Pardon me if I misunderstood, but is sounded like the OP thought that
> because a byte had
> 8 bits, it was counted in base 8 (and hence thought that 36 and the
> final answer had to be
> in base 8).

That was my take on the question as well.

> I agree that the more interesting point is what the purpose of the
> calculation actually is.
> I've never found a need for such a calculation on a PC (a Pocket PC, or
> an embedded system
> is a different matter!)

I wonder whether there is any topic in programming that results 
in more confusion than the distinction between a number's value 
and its representation.

Pointers maybe?

Stephen Posey
[EMAIL PROTECTED]

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to