I think Gavin Nunns wrote:
> Hello
> 
> I am having a little trouble with using the retract-string command.  I can 
> retract strings Ok if I know the fact-ID, but using the following code I 
> receive an error;
> 
> (retract-string (vehicle (type ford) (age 14)))
> 

If that's the exact code, then the problem is just that retract-string
wants, not surprisingly, a string representation of the fact as an
argument:

(retract-string "(vehicle (type ford) (age 14))")




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

Reply via email to