"space" in hex?



I have problem in converting "space" to hex and be read again as "space" in
string

Ex: input text = abcd defg
I must convert this text to hex so it can be store to the card
Then when the card is read by the reader it must return the same result =
abcd defg

But what happening is:

input text = abcd defg
result in hex = 61 62 63 64 20 64 65 66 67
convert it again to string = abcdAIKM'

how to read the "space"??

thanks

--
Message posted via http://www.vbmonster.com

.



Relevant Pages

  • Re: input command
    ... When you store a text string into the SD card, ... bit of text at the beginning indicating a file type to the ...
    (comp.sys.hp48)
  • Re: 50g questions, programming and OS
    ... The calculator can always read a card file literally ... (as a string), but can not store that same string back, ...
    (comp.sys.hp48)
  • Re: input command
    ... When you store a text string into the SD card, ... bit of text at the beginning indicating a file type to the ...
    (comp.sys.hp48)
  • Re: "space" in hex?
    ... input text = abcd defg ... I must convert this text to hex so it can be store to the card ... The hex conversion is correct as dalz has wrote it. ...
    (microsoft.public.vb.syntax)
  • Re: "space" in hex?
    ... input text = abcd defg ... I must convert this text to hex so it can be store to the card ... convert it again to string = abcdAIKM' ...
    (microsoft.public.vb.syntax)

Loading