Hello-

The immediate solution to your problem would be to add an argument to your
function so that you can pass the Rete reference to it:

        clp:
                (call ?SomeClassInstance createMyFact (engine))
        java:
                public void createMyFact(Rete reteInstance) { ... }

However, I think what you're actually looking for is creating your own
Userfunction.  This is how most of Jess's functions are implemented.  See
chapter 5, Adding Commands to Jess, in the docs.

-Dave Barnett


P.S. -- I apologize if this has already been answered.  It appears that
there are some mail servers out there on vacation this week!


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