New

Declaration:
Procedure New (Var P : Pointer[, Constructor]);
Description:
New allocates a new instance of the type pointed to by P, and puts the address in P. If P is an object, then it is possible to specify the name of the constructor with which the instance will be created.
Errors:
If not enough memory is available, Nil will be returned.
See also:
Dispose (479), Freemem (501), Getmem (503), Memavail (532), Maxavail (531)

For an example, see Dispose (479).