Read Me - Common Public License V1.0 - Copyright Notice(©)

new (Class Method)


>>-new(name,source--+-------------+---)-------------------><
                    +--, context--+

Returns a new instance of method class, which is an executable representation of the code contained in the [source] . The [name] is a string. The [source] can be a single string or an array of strings containing individual method lines.

The [context] allows the created method to inherit class and routine lookup scope from another source. If specified, [context] can be a Method object, a Routine object, a Package object, or the string "PROGRAMSCOPE". PROGRAMSCOPE is the default, and specifies that the newly created method will inherit the class and routine search scope from the caller of new method.

Read Me - Common Public License V1.0 - Copyright Notice(©)