Array Indexing

James Dunne james.jdunne at gmail.com
Mon May 1 11:02:31 PDT 2006


kris wrote:
> James Dunne wrote:
> 
>> Agreed.  Byte isn't really an integer, it's more for storage.  Storage 
>> should not care about signedness, it should just be used for read, 
>> write, comparison, and bit-flipping operations.
> 
> Woah ... byte isn't really an integer? I guess long is not really an 
> integer either, and should only be used for bit flipping too :)
> 

Of course not.  I simply meant that bytes shouldn't be used for 
calculations.  None of our integral types are literal mathematical types 
if that's what you're trying to point out.  I meant the word 'byte' 
implies storage.  Would you prefer octet instead?

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/MU/S d-pu s:+ a-->? C++++$ UL+++ P--- L+++ !E W-- N++ o? K? w--- O 
M--@ V? PS PE Y+ PGP- t+ 5 X+ !R tv-->!tv b- DI++(+) D++ G e++>e 
h>--->++ r+++ y+++
------END GEEK CODE BLOCK------

James Dunne



More information about the Digitalmars-d mailing list