Caché Basic Reference
New
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

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