Take a look at where the quotes are in your category slot .... perhaps

  (category "Desktop" | "videotape")

would be better for your problem. Also do you really want to do
an exact string match with a capital 'D' in desktop?




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of vsingh
Sent: Friday, August 18, 2006 2:38 PM
To: jess-users@sandia.gov
Subject: JESS: logical or operator error..



Hi...the logical or operator doesnt seem to be working..for sum
reason...let me know if i am using it right.....heres the excerpt...

Jess> (defrule recommend-media-for-player
(object(is-a Product)(partnumber ?media)(category "Desktop |
videotape")) 
=>
(printout t ?media crlf)
)


this piece of code isnt working....pls help....

-- 
View this message in context:
http://www.nabble.com/logical-or-operator-error..-tf2128913.html#a587525
5
Sent from the Jess forum at Nabble.com.
--------------------------------------------------------------------
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]
--------------------------------------------------------------------
--------------------------------------------------------------------
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