next up previous

5.4.9.1 Rules Without Any LHS Pattern CEs

The initialfact pattern is added to any rule that has no patterns on its LHS (unless facts have been disabled by configuring CLIPS in which case the initialobject pattern is added to the LHS of the rule). For example, the following rule

(defrule example-1
   =>)

would be changed as follows.

(defrule example-1
   (initial-fact)
   =>)


next up previous