help! converting String (symbol) to integer.
Hi,
I am trying to convert String (symbol) to integer.
Through the serial communication, I am getting the data of list (ex.53 49 57
53 49 54) and need to convert this each value to ascii,
for example, from (53 49 57 53 49 54) to (5 1 9 5 1 6). I am using "itoa"
object for doing this.
The problem is that these converted values will be used as a number later.
But I cannot convert symbols of (5, 1, 9, 5, 1, 6) to numbers (5, 1, 9, 5,
1, 6).
If I transmit these symbols to number boxes with bang like regular way of
converting number message into number, I have gotten error messages like:
error: number; doesn't understand "5"
I have attached the file, so please help me to figure this out.
Thank you very much.
--
Hyun Jean
Crap! I need this answer, but Emmanuel's response is blank (something about it is deprecated I guess?)
[fromsymbol] should do the trick.
Thanks! I was just coming to that conclusion.