Hi,

I am rather stuck on a bind, not quite sure how the logic works here.

( defrule resultthisorthat 
?result <- ( result ~ ?m & : ( < ?m 200 ) & ~ ?m & : ( > ?m 200 ) )
 = > 
( retract ?result )
( printout t "Please enter a number between 0 and 2000" ) 
( assert ( result ( read ) ) ) )

Jess replies witha an error that you cannot begin with a negation. I
tried putting the whol thing into brackets but Jess replied it was an
invalid slot.

Help.......:-). 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]
--------------------------------------------------------------------

Reply via email to