I'm brand new to Jess and I was wondering if there was already a function available to facilitate the matching of a slot value being in a list of valid values

(deftemplate bla
 (slot data) )

(defrule foobar
 (bla (data (in ('foo','bar') ) ) )
=>
...

I am a little confused how I would approach this type of problem ( or is this a proper use of the rule engine?? ) - if I've glossed over the section in the book I'd appreciate someone pointing out what chapter I should look in.

Thanks for your time.

Mike

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