hi,
See http://www.codeproject.com/jscript/jsexpressioneval.asp
I guess that is what your are looking for.
As for MathML, http://www1.chapman.edu/~jipsen/mathml/asciimath.html is
a very simple way to work with it. I've just used the PHP version though.
ciao,
ivan
[EMAIL PROTECTED] wrote:
Cheers guys, I was beginning to feel a bit stupid there.
The idea being that we need to provide a test space where users can
create formula to work out the reportability of chemical spillages etc
- which means doing things like:
(200 * (200kg barrels * hazard level x chemical) * the amount of time
it was left draining) * qualifier(environment c)
And then saving that to the DB in a format which takes into account
the variants over time (government guidelines changing etc) as well as
the evaluation at that time. We are looking at MathML to go with it, I
just didn't want to start from scratch, which to be fair bob, I
thought was the whole point?????
Next time I will make sure my q is more like:
why doesn't: alert('fuyoo'); work???
Ta very much.