Maybe I'm just crazy but for some reason, the VB documentation says that a Byte "Holds unsigned 8-bit integers ranging in value from 0 through 255", yet when I do something like:
VB complains up a storm. Is there simpler way to do simple increments/decrements or addition/subtraction to Bytes rather than:
/everytime/?
It's smart enough to truncate fractions, yet, it can't figure that 0000 0000 0000 0000 0000 0000 0000 0001 should be converted to 0000 0001. Sheesh.
Done venting now.
Code:
Dim small as Byte = 0
small += 1
VB complains up a storm. Is there simpler way to do simple increments/decrements or addition/subtraction to Bytes rather than:
Code:
Dim small as Byte = 0
small += Convert.toByte(1)
/everytime/?
It's smart enough to truncate fractions, yet, it can't figure that 0000 0000 0000 0000 0000 0000 0000 0001 should be converted to 0000 0001. Sheesh.
Done venting now.