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

Reply via email to