Hi,
Silly question probably.. I am just trying to check the value of two array entries, when I run the code the following line always amounts to a false, even though I can see that InBuffer(0) is 91 (0xA5) and InBuffer(1) is 90 (0x5A). Any ideas why?
If InBuffer(0) = 0xa5 AND InBuffer(1) = 0x5a Then
'do something, but we never end up here
End If
Thanks
Silly question probably.. I am just trying to check the value of two array entries, when I run the code the following line always amounts to a false, even though I can see that InBuffer(0) is 91 (0xA5) and InBuffer(1) is 90 (0x5A). Any ideas why?
If InBuffer(0) = 0xa5 AND InBuffer(1) = 0x5a Then
'do something, but we never end up here
End If
Thanks