I think portalguy wrote: > Hi, > Am I correct in assuming these two rules are identical? They gave me the > same results just want to make sure > that they're the same.
Yes, they're the same. You could also write (defrule OrRule3 "" ?human <- (Human (Name "b"|"a")) => (printout t ?human crlf)) which would be my choice. > > (defrule OrRule > "" > (or > ?human <- (Human (Name "b")) > ?human <- (Human (Name "a")) > ) > => > (printout t ?human crlf)) > > > (defrule OrRule2 > "" > ?human <- (Human (Name ?Name&:(or (eq ?Name "b") (eq ?Name "a")))) > => > (printout t ?human crlf)) > > > Thanks in advance > > -------------------------------------------------------------------- > 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] > -------------------------------------------------------------------- > --------------------------------------------------------- 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] --------------------------------------------------------------------
