I think Alexander Lamb wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hello, > > This rule seems to never fire: > > (defrule CATCH_TITLE > (declare (salience -100)) > (OrmedContext > (readyToRun TRUE) > (task "script") > (currentScript ?s & :(eq nil title))
You're asking here whether the symbols "nil" and "title" are the same, and of course, they're not. From the rest of your message, it looks like you probably want something like > (currentScript ?s & :(eq nil (get ?s title))) > (OBJECT ?x) > ) > => > (call ?x setScriptKeyAndTitle "XXX" "Missing script title") > ) --------------------------------------------------------- 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] --------------------------------------------------------------------
