I think Noah Zimmerman wrote:
> You are right, I am passing an instance of this template to the function
> which would be a fact. I see the fact-slot-value function but it takes
> the fact-id as an argument - when I am writing my function, how do I
> determine what the fact-id is?
"fact-id" is just the word for what gets bound to the variable ?f in
this snippet of code:
(defrule example
?f <- (some-fact)
=> )
(assert) also returns fact-ids. A fact-id is actually reference to a
Java Fact object.
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
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]
--------------------------------------------------------------------