Dear list

I appologize if this question is too basic.

When I use method listFacts in jess.Rete class, why both  rete and facts in
the following program should be static, but I really need them to be
dynamic.

Iterator facts=rete.listFacts();

The error message is "non-static variable facts cannot be referenced from a
static context". When I define both rete and facts to be static, no errors,
but I really need them to be dynamic.

Thanks!

-Yanguo


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