NLI: Function: get+

Background: NLI, Expressions, Functions
Related: Examples

Description:
The get+ function gets an existing instance of specified class named by specified string.
If such an instance does not exists, it creates one and returns it.

General Format:
(get+ class instance 'name)

where:
Class is the class.
Instance is a fixed input.
Name is a string which names the instance.

Examples:
(get+ person instance 'john)
(get+ color instance 'red)

Notes:

CM ©2000-2007