建立類別

若要建立類別,請使用具有下列語法的 Class 陳述式。

語法

BSL classes are enclosed within Class .... End Class
'Defining the Class
Class classname 'Declare the object name
End Class

Instantiation of the Class
Set objectname = new classname