Class.New (gb)

Function New ( [ Arguments As Array ] ) As Object

Instantiates the class.

This routine works exactly like the NEW operator, except that the constructor arguments are specified through an array.

If you want to specify the observer that will receive all the events generated by the newly created object, you must use the Object.Attach static method.

Contrary to Object.New, any class can be instanciated by this method.

See also