Although probably no one cares about Classic ASP, except those who still need to support it, I was refreshing my memory today on how to use classes in Classic ASP and found a couple of options for simulating constructors with parameters.
We start with a simple class and add a default function that returns the current instance:
Public Default Function Init(myvalue)
Set Init = Me
Public Property Get MyValue
MyValue = m_myvalue
Then we can create an instance of our class with a faux constructor, like this...
Set myobject = (New MyClass)(123)
...or, if you prefer, this...
Set myobject = New MyClass.Init(123)