Good evening,
Wonderful! It works. Thank you very much :-).
I thought that I run the Jess engine with "Run" command in the Eclipse ...
(?).
Thank you once again.
Best regards,
Martina
----- Original Message -----
From: "Ernest Friedman-Hill" <[EMAIL PROTECTED]>
To: "jess-users" <[email protected]>
Sent: Thursday, October 23, 2008 7:09 PM
Subject: Re: JESS: Problem with JESSDE in Eclipse
Often, as in this case, you need to "reset" first, to push the
deffacts to working memory; so
(reset)
(run)
On Oct 23, 2008, at 12:53 PM, Dusan Sormaz wrote:
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]
.
--------------------------------------------------------------------
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------