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.

w.//

Thomas Winningham wrote:
Good tip is for you to include your own JS source on the interpreter
demo, and edit that file and refresh your browser as neccessary while
testing... sort of a sandbox for your own classes and functions. This
may be obvious, but I just wanted to be obvious for a moment.

On 1/20/06, Bob Ippolito <[EMAIL PROTECTED]> wrote:
On Jan 20, 2006, at 11:49 AM, Wayne Douglas wrote:

Is the expression evaluator supposed to be able to handle things like:

(x*y) * ((x+n)*(x*n))

As in nested expressions etc?
I have no idea what you're referring to by "expression evaluator".

If you mean the MochiKit interpreter example, then it uses eval() so
any valid JavaScript works.  If that's the case, then it'd have been
a lot easier just to try it out than to email the list :)

-bob



Reply via email to