:NAME
Purpose
This references the appropriate "name" slot in the KBMS. Since different
KBMS may have different conventions for naming a frame, this is a KBMS-independent
way to reference the name slot.
Parameters
- frame
- The frame or a variable.
- String
- A name string or a variable.
Examples
(:NAME Frogs ?x)
(:NAME ?what "Piranha")
Success criteria
Succeeds if it can retrieve the name of a frame,
or if it can retrieve a frame with the given name.
Failure criteria
Fails if the name of the frame can not be set,
or if the frame's name can't be retrieved.
Notes
None.
Related commands
Back to...
Algernon commands
Algernon Documentation Central
Algernon home page