Class.New

Parent Previous Next

Class.New.

Creates a new object instance in memory and lets the class variable refer to this instance. Returns Self for a possible continuation of operations.


Syntax.


 New() : <Self>

 



Example:


 TCustomType obj; //Now obj refers to nothing;

 obj.New();       //Now obj points to an object;