Hi, i have a question, the guide tells as that byte is a varible that ranges from -128 to 127, but i want to be from 0 to 255.
In C language there is the word unsigned but in basic doesnt work.
Dim i As Int
Dim b As Byte
Dim msg As String
b = 0xff ' -1
i = Bit.And(b, 0xff)
msg = "byte value: " & b & CRLF & "int value : " & i
Msgbox(msg, "Values")
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.