find-kb [Function]


Purpose

The find-kb function finds the knowledge base having a specified name.

Syntax

find-kb knowledgeBase &key no-warning-p

Arguments

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

If the no-warning-p argument is t, then no warning is issued if knowledgeBase is not a knowledge base, symbol, or string.

Value

The find-kb function returns the knowledge base, or nil if no knowledge base with the specified name can be found.

Examples

(find-kb 'upper-structure-kb) ==> |K|UPPER-STRUCTURE-KB 
(find-kb "USER-KB" :no-warning-p t) ==> |K|USER-KB

See Also

Last modified: Jun 1 1995