hi all, could someone tell me why:
generates an overflow error on last line, while:VB Code:
Dim x As Integer, a As Byte, b As Byte a = 0 b = 1 x = a - b
does not. i have to modify first operation into:VB Code:
Dim x As Integer, a As Byte, b As Byte a = 0 b = 1 x = a + b
to make it work. this is really weird.VB Code:
Dim x As Integer, a As Byte, b As Byte a = 0 b = 1 x = a * 1 - b * 1
thanks,
wc.





Reply With Quote