Hi all ! I'd like to know how to get a fact-id in a function. I create a GUI with awt objects, I add listeners to those objects and when something happens, I'd like to modify the fact involved in the control. Here is my sample (deffact act (action no)) ... (defrule foo ... ?ac <- (action yes) => ...) ... (deffunction itemlistener (?event) ;;I dunno how to modify the fact action, as I dunno how to get the fact-id ?bar<-(action no) ;;????? (modify ?bar (action yes)) ;;????? ) Thank you, Bruno SINTES
