Hi, I am new to JESS and I am facing so many problems with it..These are my queries..Hope to see quick reply for them. 1. How can u persist Knowledge Base data(Facts). presently I m just trying this by writing these facts and rules in the command prompt. how can I persist them. I feel we can write these in .clp file and run that .clp file each time when I want those facts or rules..is this best way to do or do we have any alternate solution for this.
2. In syntax of defining Rules. how we can specify else condition. the syntax says what to do when condition satisfies (RHS ie after =>). how can we specify the action to be taken when rules doesn't satisfy..do I need to use other rule with same logic with ~ condition. 3. The unique command, I am not able to understand its function. I have tried the example u have given in ur documentation, if I give two person facts with the same security number, because I have used the unige tag, I have to get only one name, but I am getting both the names.Please explain me the full use of Unique and how it will be useful. 4. The set-hash-index function definition is not clear, can u give me an example and explain it. with regards Saritha -------------------------------------------------------------------- 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] --------------------------------------------------------------------
