Thiru, what version of jess are you using? What I would do to start the debugging process is to put an else line that displays the input... When I run it, it works.
James James Patterson Project Lead Infosim USA, Inc 899 Presidential Dr, Suite 110 Richardson, TX 75081 972-644-3949 x211 mailto:[EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Rengasamy, Thirumurugan Sent: Wednesday, December 12, 2001 10:43 AM To: [EMAIL PROTECTED] Subject: RE: JESS: deffunction parameter hi, I have a deffunction as shown below; If I'm passing 20 as a parameter in to the function , its failing. It is working for values less than 20. But I'm checking for "less than or equal". I'm calling this function by passing the parameter from my Java class. Line 1 : (deffunction checkMin(?x)( Line 2 : if (<= ?x 20) Line 3 : then Line 4 : (printout t "Minimum value Failed!!" crlf) Line 5 : )) Do I need do change the Line 2 to fix this? With Thanks, Thiru Murugan S/W Developer @ ChipData, Inc. Voice: 214 615 8646 -------------------------------------------------------------------- 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] --------------------------------------------------------------------
