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

kb-name Generic Function

Summary

Returns the name of an object.

Package

kw

Signature

kb-name object => name

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

The generic function kb-name returns the name of object. It is an error if 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 (Macintosh version) - 01 Dec 2021 19:35:35