Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

New

Creates a new instance of an object.

Synopsis

New object

Arguments

The New statement has the following argument:

object Name of the object for which a new instance should be created.

Examples

The following examples demonstrate how to use the New statement:

person = New User.Person

output = New %File("\PersonList.txt")

See Also

Feedback