Quote Originally Posted by The Master View Post
Hi, Im trying to compare a WORD with a BYTE. Should that work in PBP? Im using "=>". When the values are actually compared the WORD value is definately less than 256. When i compare 2 BYTE values it works fine but if i change one to a WORD then it stops working.

Im not sure if the problem is with the comparison but it looks most likely. Does anyone know anything about it?
if word.lowbyte => bytevalue then xxxxxx
or
if word.highbyte => bytevalue then xxxxxx

Don't know why it's not working for you in the first place. It should. Works for me anyways...