Initializing member variables

Sub New is automatically called when LotusScript® executes a Dim or a Set statement with the New keyword and creates an instance of that class. You can use Sub New to initialize member variables in a class, or you can choose to initialize variables using Property Get and Property Set. You can specify parameters so that arguments can be passed to Sub New.

If the class is derived from a base class, Sub New of the base class is also called. The Sub New of the subclass is called first, then the Sub New of the parent class is called.