Hi all! I have defined 3 objects such as those ones. (deftemplate user (slot name) ) (deftemplate product (slot productID) (slot location) ) (deftemplate user-location (slot user) (slot location) ) And have asserted the following facts: (assert(product (productID 1) (location A))) (assert(product (productID 2) (location B))) (assert(product (productID 3) (location C))) (assert(user (name john))) (assert(user (name foo))) (assert(user (name bar))) Now what I want to do is to assert a user-location fact such as the user slot would be the refence to one of the asserted users and the location would be a simple string. I tried to bind the fact id to a variable, but then since I have a fact id and not a reference, I don't know what to do with it. I am probably going into the wrong way, but i can't figure out how to solve that... Can someone help me? Thank you in advance. Regards, Jérôme BERNARD. --------------------------------------------------------------------- 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] ---------------------------------------------------------------------
