MakeObject (open)

Creates a new object using a dynamically specified object

Syntax

// Core function, no LOADLIB necessary

OBJECT FUNCTION MakeObject(STRING objname, VARIANT ARRAY constructorarguments)

Parameters

STRING objname

Name of the object type to use (using the "lib#object" syntax.)

VARIANT ARRAY constructorarguments

Arguments for the constructor

Return value

OBJECT

Returns the freshly created object.

Description

This function either creates a new object, or extends an existing one. This is done using the definition of an object type in a specified library.