in-kb [Macro]


Purpose

The in-kb macro resets the current knowledge base at both compile-time and run-time.

Syntax

in-kb knowledgeBase

Arguments

The knowledgeBase argument is a symbol or string that names a knowledge base. The in-kb macro operates in a package-independent manner, so it is not necessary to specify the package in which a knowledge base name resides.

Value

This macro returns nil.

Remarks

Unlike change-kb, the in-kb macro can only appear at the top level of a Lisp program.

Examples

(in-kb "USER-KB") ==> NIL 
(in-kb 'bottom-kb) ==> NIL
(in-kb upper-structure-kb) ==> NIL

See Also

Last modified: Jun 1 1995