I am trying to collect a list of facts for a rule to utilize iff there are
any facts at all. The rule needs to be applied to all the facts in a
specific order and so far what I am doing looks like this:
(defrule add-largest-sections "Adds as many of the largest sections as
possible."
?pageEnum <- (run-query sectionless-pages)
(= (?pageEnum hasMoreElements) TRUE)
=>
Where run-query looks for page facts that have a slot set to nil. I am
using deftemplate to define the page fact.
This code fails parsing at the second line, and I can't figure out why.
This may not even be a good approach.
> ______________________________________________
> Matt Bishop - Engineering Manager, UpFront
>
> We're Growing - http://www.scenicsoft.com/jobs
---------------------------------------------------------------------
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]
---------------------------------------------------------------------