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

NextPrevUpTopContentsIndex

undefcontext

Macro
Summary

Removes a named context and its rules.

Signature

undefcontext context-name &rest ignore

Arguments

context-name

A symbol which names a context.

ignore

Ignored arguments.

Description

Removes the context named context-name and all the rules in it.

The ignore arguments are 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 (Unix version) - 24 Mar 2017

NextPrevUpTopContentsIndex