Yes, I know... but wasn't sure how the author of the original question was
intending to use the result of his addition... so simply wanted to emphasise
the  fact that the result of the addition is an integer... not a string.
I'm sure he did not plan on printing it.  Of course, his original problem
was that he was attempting to add strings :)  I just hate answering
questions when there's a chance instead to help someone think it through for
themselves :)

R.

---
At 09:54 AM 11/17/99 -0800, you wrote:
>Hi Russ, you wrote:
>
>>>> print to-string ((to-integer "12345") + (to-integer "23456"))
>
>You don't need the to-string since print accepts any-type:
>>> print (to-integer "12345") + (to-integer "23456")
>35801
>
>
>

Reply via email to