JESS: question on retracting facts

"Felix Chan" <[email protected]>
Newsgroups gmane.comp.java.jess
Message-ID <32511_1289343122_oA9MmAn7000997_AANLkTi=GJwivY47szOVvp2y9gUiTC2D_v_Z+=7nXp1bG@mail.gmail.com>
Hi,

I am wondering what is the "best practice" of retracting one or more
facts that fit a particular pattern. I am looking for something like
this:

(retract (car (make Honda) (model Civic) (year 1990))

The intention is to retract all car facts that satisfies a pattern.

I am thinking writing a function that contains a query followed by a
retract, but I am not sure if there are better/more clever ways to do
this.

Thanks.

Felix


--------------------------------------------------------------------
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].
--------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.