On Mon, 26 Oct 1998, Kathy Lee Simunich wrote:
> OK, I give up. I think I might have gone insane. I believe that the
----snip
>
> (defrule Organic-tonnage
> (tRec (CCC ?c))
> (test (eq (CCC1 ?c) "M"))
> (CCC3-is-B-or-C ?c) ;; THIS LINE DOES NOT SEEM TO CALL MY
^^^^^
Try ( test (CCC3-is-B-or-C ?c) ) here.
You still need the (test ) function so Clips knows to call the function
on the LHS. Otherwise it thinks CCC3-is-B-or-C is a symbol that must be
pattern matched. Since there are no facts starting with that symbol, your
rule never fires.
Regards,
Gary
--|----------------------------------------------------------------------
--|Gary L. Howell | EMAIL [EMAIL PROTECTED]
--|Coastal and Hydraulics Laboratory | Voice 601-634-2006
--|USAE Waterways Experiment Station | FAX 601-634-3151
--|----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------