Martina,

after defining rules, templates and facts you need to run Jess engine. The command is (run)

Dusan Sormaz

[EMAIL PROTECTED] wrote:
Good afternoon,

I am quite new in the Jess language programming and I have a little (maybe
bigger problem :-().
I use JessDE environment in Eclipse. I created a very small program that
files dog breeds.
Code is the following:

**************************************************************************
(deftemplate breed
(slot name (type STRING))
(slot standard (type STRING))
)

(deffacts dogs_breed
(breed (name Cavalier) (standard Social_breed))
)

(defrule vypis
(breed (name ?n) (standard ?s))
=>
(printout t "Name of the dog:" ?n crlf)
(printout t "Standard of the dog:" ?s crlf) )
**************************************************************************

My problem is, that output of this program is nothing. Jess runs, I see
it in Console in Eclipse.
No errors appear, but I cannot see information about Name of the dog
and its standard in Console.

I wrote also a small code: (printout t "Hello world!" crlf) and this
code is o.k. Jess displays "Hello world!" in Console.

I don´t know where is the problem. Please help :-).

Best regards,
Martina



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


--
***************************************************
* Dusan Sormaz, PhD, Associate Professor
* Ohio University
* Department of Industrial and Systems Engineering
* 284 Stocker Center, Athens, OH 45701-2979
* phone: (740) 593-1545 * fax:   (740) 593-0778 * e-mail: [EMAIL PROTECTED] * url: http://www.ent.ohiou.edu/~sormaz
***************************************************



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