Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Clips 中是否有任何方法可以创建RHS是函数调用的规则?
是的:
CLIPS> (deffunction foo() (printout t "The function was called." crlf)) CLIPS> (defrule calls-function (trigger) => (foo) ) CLIPS> (reset) CLIPS> (assert (trigger)) <Fact-1> CLIPS> (run) The function was called. CLIPS>