String problem
Posted: Fri Dec 31, 2010 12:06 pm
Hello
What I like to do is to send and receive a string with the RS232 port.
That’s no problem at all.
I would like to fill a string as in Basic A$= A$+ STR$(Value)
and read the value back in the string like Value=ASC(Mid$(A$,nr,1))
With other words,
how can I read a character like “A” back as a value 65 in a string.
or store the value 65 as “A” in the string
Please, can someone help me with this problem.
Thanks
What I like to do is to send and receive a string with the RS232 port.
That’s no problem at all.
I would like to fill a string as in Basic A$= A$+ STR$(Value)
and read the value back in the string like Value=ASC(Mid$(A$,nr,1))
With other words,
how can I read a character like “A” back as a value 65 in a string.
or store the value 65 as “A” in the string
Please, can someone help me with this problem.
Thanks