Hi,
 
As shown on JessWiki, I use the import functions to get my enum "class" in Jess 
:(import xx.yy.zz.MyEnum)
 
then I try to match a slot of a shadow fact to one of the enum field :
(defrule rule1(MyShadowFact (OBJECT ?o) (property1 MyEnum.xyz))
=> ...)
 
What I'm doing wrong ?Thanks.
 
JFL
 
 
 
_________________________________________________________________
Soyez parmi les premiers à essayer Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

Reply via email to