Hello,

I have some troubles about how to write the results of a rule to the file
router. As follows, it is very simple, and it runs well if (printout t "fail"
crlf), but an error is reported of the bad router "mo" if (printout mo "fail"
crlf).

Does it mean that it is not permitted to write the results of a rule to the file
router? Or just I have done some stupid mistakes?

(reset)
(open "out.txt" mo "w")
(defrule fail
   (test (< 2 3))
    =>
  (printout mo "fail" crlf)
)
(close mo)
(run)


Please help me!
Thank you very much!

Best wishes,
Sincerely yours, Jing Mei



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