An empty object.

Syntax

[<oRef> =] new Object( )

<oRef>

A variable or property in which to store a reference to the newly created object.

Properties

An object of the Object class has no initial properties, events, or methods.

Description

Use the Object class to create your own simple objects. Once the new object is created, you may add properties and methods through assignment. You cannot add events.

This technique of adding properties and methods on-the-fly is known as dynamic subclassing. In dBASE Plus, dynamic subclassing supplements formal subclassing, which is achieved through CLASS definitions.

The Object class is the only class in dBASE Plus that does not have the read-only baseClassName or className properties.