I noticed that facts with default-dynamic do not get properly initialized
when you create them from the Java side. I have a fact like this one:

(deftemplate kcommand
...
  (slot id (type INTEGER) (default-dynamic (newCommandID)))
)

Where (newCommandID) function returns consecutive integers. When create
those facts from the JESS side, the id slot gets initailized to an integer.
When I create a kcommand from the java side (with assertString), the slot id
looks like:

"(id (newCommandID))"

        Any suggestions?

        Yours,

                Krzysztof (in writing usually addressed as K.)

============================================================================
Krzysztof Gajos            tel. +1-617-718-0572 (home) NEW AGAIN!!!
MIT AI Lab, NE43-832            +1-617-253-5043 (office) - leave msgs here
200 Technology Sq.              +1-617-258-7470 (lab)
Cambridge, MA 02139, USA


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