useClassStatement. Provides access to various events of the class.
Explicit declaration of a variable as a class type is not allowed. In the context of VBScript, the term “class object” refers to using VBScriptClassStatement.
in useClassStatement, you can create an instance of the class in the following form:
Dim XSet X = New classname
Since VBScript is a late constraint language, the following is not allowed:
Dim X as New classname
Dim XX = New classname
Set X = New Scripting.FileSystemObject