I think Skeptic 2000 wrote: > > 1) Since there is no multiple inheritance (extends can be done only on one > fact), what would be the best way to create this : > > A has two slots, X, Y > B has one slot Z > C would have X, Y, Z.
No special trick; C can inherit from A or B, but not both, and add the extra slots. > > 2) One of the first thing I tried to do was to put a fact-id in a slot... > So, I would like to know if there is some problems with it ? No, no problem; it's a fairly common thing to do. --------------------------------------------------------- Ernest Friedman-Hill Advanced Software 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] --------------------------------------------------------------------
