Hello,
First, excuse me for my English. My native languaje is Spanish.
I am writing to you because I have a little problem with Jess's API, especially
with addSlot from Class Deftemplate. I do not know how I add a new slot without
any default value. The main problem is with FLOAT and INTEGER types. Because,
some Facts which I work do not have this slot instanced. If a give a default
value, some rules will be fired . I usually add SYMBOL slots in this way:
addSlot("Name", Funcall.NIL, "SYMBOL");
And then, when I assert a new Fact, a (Name nil) appears if I do not give any
value. SYMBOL type is not a problem, but FLOAT and INTEGER types is a problem
for me.
I appreciate your time. Thanks in advance.
Best regards
Santiago
--------------------------------------------------------------------
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].
--------------------------------------------------------------------