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

get-kb-object Function

Summary

Finds a named object in the object base.

Package

kw

Signature

get-kb-object object-name => object

Arguments
object-name
A symbol.
Values
object
A KnowledgeWorks CLOS object.
Description

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.

Examples
(get-kb-object 'fred)
See also

def-named-kb-class
kb-name


KnowledgeWorks and Prolog User Guide (Windows version) - 01 Dec 2021 19:36:03