Hi,
> I am making these rules but rule (defrule ck-select.....is not
> working.
> It should print "*** your selection must be either 1,2,3 or 4***" if
> either option has been chosen rather than 1,2,3 or4. Please find out
> my mistake and please suggest me how to make is working.Here is the
> Rule
> ...
Your main-menu rule asserts (problem-response bus ?response) but you
pattern-match against (option ?ch) in ck-select.
They have to match (both in name and position) if you want the ck-
select rule to trigger. Changing (option ?ch) to (problem-response
bus ?ch) "fixes" the problem but I really think you should try to make
a reusable structure based on *defined* templates.
HTH
Johan Lindberg
jo...@pulp.se