From REALbasicWiki
Prepending &b to an integer literal tells the compiler to interpret the literal as a binary, or base two, integer.
To get a string representation of an integer in hexadecimal form, use the Bin function.
dim N as Integer = &b00101111