Ok, that word and long are signed makes sence, but why are byte signed?
Normaly a Byte is used in the Rang from 0 to 255 and to from -127 to 128.
It would be nice to have a .ub -Type or, i think it is easier, a compiler-command like:
CompilerUseSignedByte
and
CompilerUseUnSignedByte
So the the programm can switch between the two possibilities.
for example:
Code: Select all
CompilerUseUnSignedByte
a.b=255
debug a.b ; will return 255
compilerUseSignedByte
debug a.b ; will return -1
compilerUseUnsignedWord
compilerUseUnsignedLong
(but please don't switch all, .b.l.w at once. i only want to have a unsigned byte and signed words and long.)
Thanks.
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB