hi all,
I am new to JESS and wanted to know if there is an 'is-a' in JESS like that
of CLIPS. the code I am using is
(defrule end-test1-1
(declare (salience -50))
?a<-(job test1)
(not (object
(is-a constraint)
(cons-violation yes)
)
)
=>
(retract ?a)
(assert (job optimize))
)
I am reading the above rule from a .clp file. And the error I am receiving
is
Jess reported an error in routine Jesp.parsePattern.
Message: Bad slot value .
Program text: ( defrule end-test1-1 ( declare ( salience -50 ) ) ?a <-
job t
est1 ) ( object ( at line 4.
Waiting for a helpful reply. I hope that I am not doing some silly mistake
here. Thank you all in advance.
regards,
****************************
Arslan
____________________________________________
Criminal : A guy no different from the rest... except that he got caught.
---------------------------------------------------------------------
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]
---------------------------------------------------------------------