[REBOL] Re: Evaluating a maths expression in a string?
From: mat:eurogamer at: 29-Dec-2000 19:09
MB> Mmm quite obvious really.
MB> expression-string: "2 / 0"
Next stage, it's natural for folks to enter expressions without white
spaces. As rebol is a somewhat human illogical white-space sensitive
language - this must be worked around.
I was thinking, the easiest hack might be to replace +,-,* and / with
, " - ", " * " etc
Sure it's going to result in redundant spaces if they DO put in spaces
but it should work no?
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com