Finds a named object in the object base.
kw
get-kb-object object-name => object
object-name⇩ |
A symbol. |
object |
A KnowledgeWorks CLOS object. |
The function get-kb-object
returns the KnowledgeWorks object named object-name in the object base of the current inferencing state. If there is no such object an error results.
Classes of named objects can be defined using the macro def-named-kb-class.
(get-kb-object 'fred)
KnowledgeWorks and Prolog User Guide (Unix version) - 01 Dec 2021 19:35:49