I don't see where you've called "(run)" or run() anywhere -- rules
only fire while the engine is running.
I think Rajaram Subramanian wrote:
> Hi,
> In my java prgm, i do the following...
> ...
> rete_.executeCommand("(assert (testing-fact) )");
> Context env=rete_.getGlobalContext();
> Value val=env.getVariable("*helpText*");
> System.out.println(" helptxt is.."+val.stringValue(env));
> ...
> And my .clp file goes thus:
> (defglobal ?*helpText* = (new java.lang.String "Hullo Text
> message"))
> (defrule test-rule
> ;For testing purpose only
> (testing-fact)
> =>
> (bind ?*helpText* " ok a diff message"))
>
> How is it that in my java pgm, *helptxt* always shows "Hullo Text
> message", rather than " ok a diff message".
>
> Pls let me know if you can see where my mistake is,
>
> thank you,
> raj.
>
>
> --------------------------------------------------------------------
> 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
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
--------------------------------------------------------------------
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]
--------------------------------------------------------------------