> From [EMAIL PROTECTED] Thu Oct 1 08:52:16 1998
> X-Authentication-Warning: sass165.sandia.gov: majordom set sender to
>[EMAIL PROTECTED] using -f
> To: [EMAIL PROTECTED]
> Subject: JESS: Asserting template facts from raw Java
> Mime-Version: 1.0
> Date: Thu, 01 Oct 1998 06:49:06 -0400
> From: Duane Morin <[EMAIL PROTECTED]>
>
> Following up my previous message...
>
> My system works by asserting a "query" and then letting the rules take
> over. Strictly within the context of jess, it ends up looking like this:
>
> (deftemplate query
> (slot words))
>
> (assert (query (words (create$ Tell me what is in my 401k))))
>
> My question is, if I'm in raw Java to collect my input and tokenize it,
> how do I then assert this template? I tried calling Funcall("assert", ...)
> with my list, but it seems like I would need to have a nested list in
> order to do that. I tried this:
<snip>
Why not just use
executeCommand("(assert (...))");
--Sidney
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------