All Manuals > KnowledgeWorks and Prolog User Guide > 7 Reference Guide

undefcontext Macro

Summary

Removes a named context and its rules.

Package

kw

Signature

undefcontext context-name &rest ignore

Arguments
context-name
A symbol which names a context.
ignore
Ignored arguments.
Description

The macro undefcontext removes the context named context-name and all the rules in it.

ignore is not used and is only provided so that "un" may be prepended to a context definition in an editor buffer and evaluated to remove the context.

Examples
(undefcontext my-context)
See also

defcontext


KnowledgeWorks and Prolog User Guide (Macintosh version) - 01 Dec 2021 19:35:35