Hello, I am trying to perform a simple (I suspect) action where the
appropriate message is displayed according to what the user enters. I
can get the system to ask the question, but get a list of error messages
following the input. Hope someone can help as I just can't see the
problem.

(defrule read-value
(initial-fact)
=>
(printout t "Please enter a value" crlf)
(assert (x (read)))
(if (> ?x 70)
then
(printout t "X is big" crlf)
else
(printout t "X is small" crlf)))

Dan


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003
 

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