[REBOL] Evaluating a maths expression in a string?
From: mat:eurogamer at: 29-Dec-2000 17:21
Hello,
I was just thinking of adding another function to my IRC bot. A
mathematical evaluation expression.
The question is, if I get a string which contains a mathematical
expression - how would you evaluate this and get the result?
Of course some form of error? try [] would be involved in case
something went wrong...
--
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com