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 (482), Freemem (504), Getmem (506), Memavail (535), Maxavail (534)

For an example, see Dispose (482).