Hi,

I want to fire the defrule _1 and defrule _2 based on the values of "N" at the 
start_up rule as
given in the following example. If N=1, the defrule _1 and the defrule _2 will be 
fired once, If
N=2, they will be fired twice and so on. 

Is it possible to do it in Jess? If so, how can I do that. Many thanks in advance.

For example:
------------

(defrule start_up
   =>
   (printout t crlf "Please type N (integer nos): " crlf)
   (assert (bumber-select (read)))

(defrule _1
   =>
)

(defrule _2
   =>
)


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
---------------------------------------------------------------------
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