Hello all,

I fail to make (require ) to import the template defined in the "triple.clp" into a separate file called "rule.clp", both in the same directory. The JessID keeps complaining that the rule.clp is full of errors. The editor is slow to use when the file is considered full of errors. But in fact, they run fine in Jess.

It seems that I'm unable to use (require) properly. I put (require triple) at the beginning of rule.clp. JessDE said it cannot find triple.

Anyone can advise me how to make it works? There is not much saying in "2.2.2. Dependencies among files" on the Jess webpage.

Thanks a lot in advance.


Ken


The content of the template.clp:

(deftemplate triple "Template representing a triple"
(slot predicate (type STRING) (default ""))
(slot subject   (type STRING) (default ""))
(slot object    (type STRING) (default ""))
)





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