S Stern0m1 Member Licensed User Jul 19, 2017 #1 Is there a way could do something like this in basic? Character.toString ((char) i); To get a char for an int greater then 127? Thanks
Is there a way could do something like this in basic? Character.toString ((char) i); To get a char for an int greater then 127? Thanks
DonManfred Expert Licensed User Longtime User Jul 19, 2017 #2 B4X: Sub ToUnsigned(b As Byte) As Int Return Bit.And(0xFF, b) End Sub 'check: Log(Bit.ToHexString(ToUnsigned(0xAA))) Upvote 0
B4X: Sub ToUnsigned(b As Byte) As Int Return Bit.And(0xFF, b) End Sub 'check: Log(Bit.ToHexString(ToUnsigned(0xAA)))
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2017 #3 Chr(i) will convert any unicode code point up to 65536. To support higher code points: https://www.b4x.com/android/forum/t...ution-for-display-emoji-in.61083/#post-385373 Upvote 0
Chr(i) will convert any unicode code point up to 65536. To support higher code points: https://www.b4x.com/android/forum/t...ution-for-display-emoji-in.61083/#post-385373