Re: JESS: Can't use funcalls in backchained patterns?
"Wolfgang Laun" <[email protected]>
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <7774_1279732283_o6LHB7Q8007979_AANLkTinLXsMM0Okdf2yshj-o4P9qIUT2WyjHnsoT8FeV@mail.gmail.com> |
On 21 July 2010 16:22, Ernest Friedman-Hill <[email protected]> wrote: > It would, but then you'd need a second rule to actually act on the alert. I > think Henrique was looking for a way to do it in one rule, imagining that > there would be many triggers like this. OK - but I understood that the ultimate goal is the insertion of whatever schedule-timer-alert inserts, after the 3000ms. But Henrique will know ;-) > > > On Jul 21, 2010, at 10:05 AM, Wolfgang Laun wrote: > >> Why wouldn't a simple >> >> (defrule r >> (k (when ?w)) >> => >> (schedule-timer-alert (+ ?w 3000)) >> ) >> >> be sufficient? >> >> -W >> > > ------------------ -------------------------------------------------------------------- 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]. --------------------------------------------------------------------