[Newbies] converting a string to a do-able.
joe biggins
netnum at gmail.com
Sat Dec 11 00:00:50 UTC 2010
Hi,
I am a total newby so I am probably missing something obvious. I am trying
to make a small program where the user can type in simple formula as a text
string and get the answer. So '3 plus 5' gives the answer 8. I am having
trouble converting the 'plus' into +. Is there as asNumber equivalent for
maths symbols or anything like that?
Sorry if this question makes no sense.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20101211/d60d1309/attachment.htm
More information about the Beginners
mailing list