Hi,
I have a fact with a field containing the symbol :
However I have not managed to match it with a rule. Is there a way to achieve
this?
Jess> (assert (f : ))
<Fact-0>
Jess> (defrule x (f : )=>)
Jess reported an error in routine Jesp.parseFuncall.
Message: Expected '(' at token ')'.
Program text: ( defrule x ( f : ) at line 2.
Jess> Jess reported an error in routine Jesp.parseExpression.
Message: Expected a '(', constant, or global variable at token '='.
Program text: = at line 2.
Jess> >
Jess> Jess reported an error in routine Jesp.parseExpression.
Message: Expected a '(', constant, or global variable at token ')'.
Program text: ) at line 2.
Jess> (defrule x (f ":")=> (printout t aaa))
TRUE
Jess> (run)
0
Jess> (watch all)
TRUE
Jess> (run)
0
Thanks
Joe
--------------------------------------------------------------------
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].
--------------------------------------------------------------------