ExtendObject (open)
Extends an existing object with a dynamically specified object
Syntax
// Core function, no LOADLIB necessary
MACRO ExtendObject(OBJECT base, STRING objname, VARIANT ARRAY constructorarguments)
Parameters
OBJECT base
Object to extend
STRING objname
Name of the object type to use (using the "lib#object" syntax.)
VARIANT ARRAY constructorarguments
Arguments for the constructor
Description
This function extends an existing object. This is done using the definition of an object type in a specified library.