I think Roger Studner wrote: > > When I try to modify the fact.. I get an error that 'the fact is not in > working memory'.
Short answer: before trying to modify the facts you get from a query, use "getIcon" to resolve them: (bind ?fact (?fact getIcon)) Better answer: upgrade to Jess 7, and use the much nicer new query mechanism, which doesn't suffer from this problem. Or, as Jason says, use "accumulate" to do the counting. --------------------------------------------------------- Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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] --------------------------------------------------------------------