Hi,

I was wondering if there is a way of setting a default value for a slot
to be equal to another slot.
Something like:

(deftemplate foo
   (slot bar)
   (slot qwe (default-dynamic this.bar))))

(assert (foo (bar 1)))

Slot qwe would get the value of slot bar, that is, 1.

Thanks.

Henrique

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to