get-name [Function]


Purpose

The get-name function 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

get-name object

Arguments

The object argument is any object.

Value

The name or identifier of object is returned.

Examples

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

See Also

Last modified: Jun 1 1995