In RealBasic, is there a way to convert a byte to a string?
A:
You could use MemoryBlock:
Dim m As MemoryBlock
m = NewMemoryBlock(1)
m.Byte(0) = 65
MsgBox(m.StringValue(0, 1)) // Displays "A"
Of course, Chr(65) does the same thing...
Paul Lefebvre
2010-07-13 20:26:52