The commas you've placed between fields in the Temperature pattern are
a Jess extension of your own devising. Remove them, and all is well.

I think Rengasamy, Thirumurugan wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> hi to all!
> 
> my defrule looks like: 
> 
> =======================================
> (defrule rule1
> (Temperature, T_ST, ?x, 1)
> (test (> ?x -65))
> (test (< ?x 150))
> =>
> (printout t  ?x " My Rule is working!" crlf)
> )
> =======================================
> 
> I'm having the following problem when using a test case in my defrule. I
> could able to use the variable "x" in everywhere except in the two test
> lines. While running, the error occurs as below:
> 
> ******  Message: Unbound variable found in funcall: x parsing defrule
> rule1 .
> 
> If I commented the two test lines, I could able to print the result at
> RHS. Plz do throw your valuable suggestions on this!
> 
> Thx in advance!
> 
> Thiru Murugan
> Dallas, TX
> 
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

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