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

Reply via email to