Hi
I tried to dump the rules loaded at some point in time as follows but it did
not work out...
I do not know the names beforehand and have to figure out why they are not
firing...
Jess (rules)
For a total of 0 rules in module MAIN.
Jess (defrule x (f $? )=)
TRUE
Jess (rules)
MAIN::x
For a
(rules) just prints, returning nil.
(foreach ?v (explode$ (ppdefrule *)) (ppdefrule ?v))
-W
On Wed, Sep 2, 2009 at 11:25 AM, jo etaoi...@yahoo.com wrote:
Hi
I tried to dump the rules loaded at some point in time as follows but it
did not work out...
I do not know the names beforehand and
On Sep 2, 2009, at 5:25 AM, jo wrote:
Hi
I tried to dump the rules loaded at some point in time as follows
but it did not work out...
I do not know the names beforehand and have to figure out why they
are not firing...
That's what (ppdefrule *) does.
@sandia.gov
Sent: Wednesday, September 2, 2009 1:55:47 PM
Subject: Re: JESS: how to dumping rules ?
(rules) just prints, returning nil.
(foreach ?v (explode$ (ppdefrule *)) (ppdefrule ?v))
-W
On Wed, Sep 2, 2009 at 11:25 AM, jo etaoi...@yahoo.com wrote:
Hi
I tried to dump the rules loaded
On Wed, Sep 2, 2009 at 1:55 PM, Wolfgang Laun wolfgang.l...@gmail.comwrote:
(rules) just prints, returning nil.
This is correct.
(foreach ?v (explode$ (ppdefrule *)) (ppdefrule ?v))
This is nonsense,
-W
Maybe that is what you want?
(bind ?it ((engine) listDefrules))
(while (?it hasNext)
(printout t (ppdefrule ((?it next) getName)) crlf crlf)
)
Regards,
Florian
On Wed, Sep 2, 2009 at 11:25 AM, jo etaoi...@yahoo.com
mailto:etaoi...@yahoo.com wrote:
Hi
I tried to dump the rules
Cool, works like a charm...
Thanks
Joe
- Original Message
From: Florian Fischer florian.fisc...@sim.hcuge.ch
To: jess-users@sandia.gov
Sent: Wednesday, September 2, 2009 3:56:32 PM
Subject: Re: JESS: how to dumping rules ?
Maybe that is what you want?
(bind ?it ((engine