&H prefix means the value is in hexadecimal. Hence the 255 value (15*16 + 15)
AND is boolean 'and' operator, if you and anything with &HFF, you get the lower 8 bits.
If you think VB is crap because of this, youshould see C.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.