StrU()
Syntax
Result$ = StrU(Value, Type)Description
Convert a unsigned numeric number into a string.
'Type' may be:#PB_Byte : The value is a byte number, ranging from 0 to 255 #PB_Ascii : The value is a ascii character, ranging from 0 to 255 #PB_Word : The value is a word number, ranging from 0 to 65536 #PB_Unicode: The value is a unicode character, ranging from 0 to 65536 #PB_Long : The value is a long number, ranging from 0 to 4294967296 #PB_Quad : The value is a quad number, ranging from 0 to 18446744073709551615Note: Signed integer numbers must be converted with Str() and float numbers with StrF() or StrD().Example:
byte.b = 255 Debug Str(byte) ; Will display -1 Debug StrU(byte, #PB_Byte) ; Will display 255
Supported OS
All