Base classes
The syntax is:
[ Public | Private ] Class className
classBody
End Class
Element |
Description |
---|---|
Public, Private |
Public specifies that the class is accessible outside the module in which it is defined. Private (default) specifies that the class is accessible only within the module where the class is defined. |
className |
The name of the class. |
classBody |
Declares member variables, and declares and defines properties and methods. Member variables can have any data type LotusScript® supports, and can be object reference variables of the class being defined. Methods can be functions and subs, including Sub New, which initializes class objects, and Sub Delete, which deletes class objects. You cannot declare a class member as Static. |