KnowledgeWorks and Prolog User Guide > 7 Reference Guide

NextPrevUpTopContentsIndex

kb-name

Generic Function
Summary

Returns the name of an object.

Signature

kb-name object => name

Arguments

object

A KnowledgeWorks named CLOS object

Values

name

A symbol.

Description

Returns the name of object . It is an error if the object is not a named object. Classes of named objects can be defined using the macro def-named-kb-class.

Examples
(kb-name (get-kb-object 'fred)) ; returns FRED
See also

def-named-kb-class
get-kb-object
named-kb-object


KnowledgeWorks and Prolog User Guide (Unix version) - 22 Dec 2009

NextPrevUpTopContentsIndex