LOTUSSCRIPT LANGUAGE


Declaring member variables
While class member variable declarations resemble those of local variables declared in a function, LotusScript allocates space for them only when an application creates an instance of a class. When this happens, LotusScript allocates space for all the classfs member variables at the same time.

You can define a class using any mixture of data types for member variables, including object references to the class being defined:

Class MyClass
 myText As TextBox      ' Sample product object reference
 i As Integer           ' Integer
 myList List As String  ' List of strings
 myRef As MyClass     ' Reference to an object of this class
End Class

See Also