Hello List

I'm sorry for the primary questions, but given the following list. As to
verify the color of the 2nd element of the list.
(assert (color (create $red green blue)))

(defrule colorsee
   (color $?colors)
   ((bind ?element (nth $2 $?colors)) green)              ---> it gives
mistake...
  =>
  (printout t "colors 2: " (bind ?element (nth $2 $?colors)) crlf)
  (printout t " list :"  $?colors crlf))

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