markwysong
2004-09-10 14:52:05 UTC
Okay, I'm stumped. I have an application where I need to evaluate a
conditional programatically, and I can't do it with a Formula Node.
Basically, my user wants to be able to enter some formula which
describes conditionals, such as "if this temperature goes above X
degrees or this temp goes above Y degrees, then take a reading" kind
of thing. Since the conditional will be saved in a file, the formula
node needs to be dynamic.
I've used the "Eval Formula Node" before, which is built for this type
of application...sort of. I tried it, but after trying in vain to get
it to work properly, found out that it doesn't do boolean and
conditionals in its parser, so it won't work.
Does anyone have a good idea how to do this??
conditional programatically, and I can't do it with a Formula Node.
Basically, my user wants to be able to enter some formula which
describes conditionals, such as "if this temperature goes above X
degrees or this temp goes above Y degrees, then take a reading" kind
of thing. Since the conditional will be saved in a file, the formula
node needs to be dynamic.
I've used the "Eval Formula Node" before, which is built for this type
of application...sort of. I tried it, but after trying in vain to get
it to work properly, found out that it doesn't do boolean and
conditionals in its parser, so it won't work.
Does anyone have a good idea how to do this??