Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).


Creates a new instance of an object.


New object


The New statement has the following argument:

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


The following examples demonstrate how to use the New statement:

person = New User.Person

output = New %File("\PersonList.txt")
Copy code to clipboard

See Also

FeedbackOpens in a new window