I think =?iso-8859-1?Q?Diego_Alonso_Gonz=E1lez?= wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Dr. Friedman-Hill,
> Then, the defQuery Class is just meant for the parser and not for
> programming?

It's used internally; externally it's not commonly used (in Jess 6,
anyway.) You can use Rete.findDefrule() or listDefrules() to get ahold
of Defrule or Defquery objects, and then query their names,
docstrings, patterns, etc. But there's no way to create one yourself.

> May I see an enlightening example on a query where the ValueVector is
> holding parameters?
> how would i do it? for example with the "since" slot here
> (is it posible to pass a bean as a parameter? )

If you've got a query with a "(declare (variables ...))" declaration,
then you can pass arguments to the query. See section 2.9 of the
manual, where there's a full example of this.




---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        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]
--------------------------------------------------------------------

Reply via email to