Yes, this is a fine solution.
I think Bruno SINTES wrote:
> I found a 'solution' to my problem (well, it's working so far, so I consider it
> is a solution !)
>
>
> (defrule foo
> ...
> ?ac <- (action yes)
> =>
> ....
> (retract ?ac)
> )
>
> ...
>
> (deffunction menu-handler (?event)
> (assert (action yes))
> (run)
> )
>
> Because when the user doesn't do anything (and no rule has to be fired), the
> engine stops.
> So when there is an action commited, I assert the fact and run the engine. I don't
> know if it is clever, but it works.
>
> Bruno SINTES
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------