Re: JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-27 Thread Rejaul Barbhuiya
Thanks, runQueryStar() needs at least 2 args - query name and a variable of valuevector type. I don't want to pass any variable as shown in TekMark example in Jess in Action Iterator result = engine.runQuery(all-products, new ValueVector()); When I pass the same blank valuevector(), it doesn't

Re: JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-27 Thread Rejaul Barbhuiya
I have four *deftemplate*s - Subject, where each subject can have multiple modules and each module can have multiple topics. Now I want to create a table of contents (or a tree structure) so that all topics belonging to same Module can be listed together, while those of other module will be listed

JESS: [EXTERNAL] Question on QueryResult close() function

2013-06-27 Thread Daniel Selva
Hi, I am experiencing a memory leak problem in a Matlab-Jess application and I am trying to locate the leak. I came across the definition of the close() method of the QueryResult class. I have never called this method after using queries. 1) Should I call close() after using a query? 2) Could