object-name [Method]


Purpose

The object-name method returns a name or identifier for any named Loom object. Named objects include concepts, sets, relations, Loom instances, CLOS instances of type INSTANCE-IN-KNOWLEDGE-BASE, actions, productions, and knowledge bases.

Syntax

object-name object

Arguments

The object argument is any object.

Value

The name or identifier of object is returned.

Examples

(object-name (fc Box)) ==> BOX 
(object-name (fr on)) ==> ON 
(object-name (fi Box3)) ==> BOX3 
(object-name (find-action 'move)) ==> MOVE 
(object-name (find-production 'full-box-rule)) ==> FULL-BOX-RULE 
(object-name (find-kb "USER-KB")) ==> USER-KB

See Also

Last modified: Jun 1 1995