|
Hi, I've read Jess language document three times,
but I still have a few questions.
What I'm not clear is how to use "reset", "run",
and "halt".
I'd like to do the followings:
First, add rule(s) and/or fact(s) one by one.
Second, while adding rule(s) and/or fact(s), I want
to fire the rule at any time and want to stop the rule engine.
I guess, in order to these tasks,
first, I should call "(reset)" at first,
second, add rule(s) and/or fact(s) appropriately,
and third, if I want to fire the rule(s), call
"run" and then call "halt" to stop the rule engine (Repeat the second and third
step).
Is this correct?
Thanks in advance.
Young-Jin Lee
|
- Re: JESS: Newbie's question. Young-Jin Lee
- Re: JESS: Newbie's question. ejfried
- Re: JESS: Newbie's question. Thomas_Barnekow
