given code like this
(deffacts initial
(ct Anna 1)
(ct Billy 2)
)
....
(ct ?z ?zt)
(ct ?y&~?z ?yt)
....(small excerpt)
I am trying to compare later in the program if these letter are equal (I am
using more than just these two)
I tried a simple
(if (= ?z ?y))
then
printout
else
printout
and that didn't work, it wouldn't let me do a str-compare. I was wondering
if there was a simple way to do this. The only other idea I had was to
check the values
(if (= ?zt ?yt))
then
printout
else
printout
any ideas?
I was also wondering if there is a way to retract a rule, like we would a
fact.
Jed
---------------------------------------------------------------------
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]
---------------------------------------------------------------------