next up previous

13.1.7 Resetting CLIPS

Resets CLIPS. Removes all activations from the agenda, all facts from the factlist and all instances of user-defined classes, then assigns global variables their initial values, asserts all facts listed in deffacts statements into the factlist, creates all instances listed in definstances statements, sets the current module to the MAIN module and automatically focuses on the same module. Incremental reset is supported for rules. This means that rules can be activated from facts that were asserted before the rule was defined without performing a reset. A reset can be performed while rules are executing. Note that the reset command does not effect many environment characteristics (such as the current conflict resolution strategy). This function has no return value.

Syntax

(reset)


next up previous