NextPrevUpTopContentsIndex

undefrule

Macro
Summary

Removes a rule.

Signature

undefrule rule-name &rest ignore

Arguments

rule-name

A symbol which names a rule.

ignore

Ignored arguments.

Description

Removes the rule named rule-name and any unfired instantiations of that rule.

The ignore arguments are provided so that "un" may be prepended to a rule definition in an editor buffer and evaluated to remove the rule.

Examples
(undefrule my-rule1)
See also

defrule


KnowledgeWorks and Prolog User Guide (Windows version) - 29 Feb 2008

NextPrevUpTopContentsIndex