KnowledgeWorks and Prolog User Guide > 7 Reference Guide

NextPrevUpTopContentsIndex

get-kb-object

Function
Summary

Finds a named object in the object base.

Signature

get-kb-object object-name => object

Arguments

object-name

A symbol.

Values

object

A KnowledgeWorks CLOS object.

Description

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 (Unix version) - 22 Dec 2009

NextPrevUpTopContentsIndex