Are there situations or usages of (accumulate) that would actually prevent a rule from firing?
?c <- (accumulate (bind ?count
0)
;; initializer
(bind ?count
(+ ?count
1))
;; action
?count
(pattern to look for.. single fact, not even complex)
)
If there are *no matches* to this pattern, should it always fire and have ?c bound to zero?
Thanks,
Roger
- JESS: Accumulate Function - LHS Roger Studner
- Re: JESS: Accumulate Function - LHS ejfried
- Re: JESS: Accumulate Function - LHS Roger Studner
- RE: JESS: Accumulate Function - LHS Tromm, Martijn
- Re: JESS: Accumulate Function - LHS Roger Studner