Could you please give an example of what you mean? In Erlang strings are just lists of integers, and a character is just an integer. So "abc" is [97,98,99] and $A is 65.<br><br>Robert<br><br><div><span class="gmail_quote">
On 16/12/2007, <b class="gmail_sendername">Dominic Chambers</b> <<a href="mailto:dominic.chambers@gmail.com">dominic.chambers@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Everyone,<br><br>I add some integers as values into a dict, but when I go to retrieve<br>them they are now strings. After an hour of googling the only thing I<br>can find online is that $c does what I want for character literals,
<br>but this doesn't seem to work for character variables. I need this<br>because adding to the number I get out of the dict gives me a badarith<br>error.<br><br>Thanks for any help, Dominic.<br>_______________________________________________
<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions
</a><br></blockquote></div><br>