Hi Community, not long ago I asked you how to store rules in an excel sheet. Me and my tutor are totally ok with the apache api for accessing our rules. I programmed a small GUI were all the input can be made. My question right now is: Is it possible to link my input fields to my seperated jess-file called Bachelorarbeit.clp? And my other question is: How do I have to write the rules in Bachelorarbeit.clp so they can handle input? I tried working with the examples from "Jess in Action" but so far I was not successful. At the moment my "program" looks like this:
(bind ?beta_sz 52.5) (bind ?b_sz 2.5) (bind ?l_sz 3) (bind ?r_sz_2 0.6) (bind ?r_sz_3 0.3) (progn (bind ?TEPS_linear (+ (* ?b_sz -0.216) (* ?l_sz 0.685) (* ?r_sz_2 0.392) 0.867 )) (printout t "TEPS_linear ist " ?TEPS_linear crlf)) (progn (bind ?TEPS_poly (+ (* +0.000 (** ?beta_sz 4)) (* +0.035 (** ?b_sz 1)) (* -0.103 (** ?l_sz 3)) (* -0.163 (** ?r_sz_2 5)) (* -0.002 (** ?r_sz_3 5)) -0.126) ) (printout t "TEPS_polynomial ist " ?TEPS_poly crlf) ) I declared my variables to check if i can handle the formulas. What i want to do now is to write a piece of code to catch the variables from the GUI (?beta_sz to ?r_sz_3). When this is done I finally want to outsource the rule part to excel and only have the GUI and the catcher for my variables in the code. Thank you in advance guys. I am happy for every little piece of help. Greetings from good old cloudy cold Germany Florian -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users y...@address.com' in the BODY of a message to majord...@sandia.gov, NOT to the list (use your own address!) List problems? Notify owner-jess-us...@sandia.gov. --------------------------------------------------------------------