P
Peter Royle
Hello,
I need to get a 2-byte number into a string, but I DON'T want VB to
obligingly turn it into a string - in other words, I want to end up
with 2 bytes in the string, which is the number as held in the int16
variable, not an ASCII representation of its value.
I have tried doing stuff like
str = chr((no >> 8)) & chr((no and 256))
but this is giving me problems unstringing it again, on a Pocket PC.
Can anyone help, please?
Thanks,
Peter Royle
I need to get a 2-byte number into a string, but I DON'T want VB to
obligingly turn it into a string - in other words, I want to end up
with 2 bytes in the string, which is the number as held in the int16
variable, not an ASCII representation of its value.
I have tried doing stuff like
str = chr((no >> 8)) & chr((no and 256))
but this is giving me problems unstringing it again, on a Pocket PC.
Can anyone help, please?
Thanks,
Peter Royle