I think Jerry Hoe wrote:
> Hi Ernest,
>
> Opps... I found it in the manual now! I think I better change a new pair of specs.
> Anyway, a bold font will probably be more obvious in the "The Jess Language"
> doc.
At the bottom of the first page of the manual is a link to the
"Function Cross-Reference", which lists all the Jes functions by
category. "modify" appears under "Functions for working with facts,"
and if you click on it, it takes you to the full documentation for
(modify). The headline of this section is suitably bold-faced. :)
>
> Well, since I have asked, I will be interested to know if there is any alternative
> to using (modify)... :)?
>
(modify) really just retracts a fact and asserts a new changed one, so
you can do the same thing yourself by hand. You can also do the same
thing from Java code using the retract() and assert() methods in the
Rete class. But due to the way the Rete algorithm works, the only
corect way to modify an existing fact is to remove it altogether and
reassert a new version.
> Cheers...
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
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]
---------------------------------------------------------------------