Byte = CByte ( Expression )
Converts an expression into a byte. Expression is first converted into an integer. Then, if this integer overflows the byte range, it is truncated.
Example :
PRINT CByte("17")
=> 17
PRINT CByte(100000)
=> 160
PRINT CByte(TRUE)
=> 255