Returns the name of an object.
kw
kb-name object => name
object⇩ |
A KnowledgeWorks named CLOS object. |
name |
A symbol. |
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.
(kb-name (get-kb-object 'fred)) ; returns FRED
KnowledgeWorks and Prolog User Guide (Macintosh version) - 01 Dec 2021 19:35:35