When is Class_initialize (and _Terminate) run and not run?
It seems to me that for
dim A as ClassName
set A = New ClassName
_initialize and _terminate are invoked, but for
dim A as new ClassName
they aren't.
Is this a 'feature' or am I just missing something?
(btw: I looked in the docs and couldn't find anything under 'class' or 'initialize' or anything else relevant, so I'm running on 0 information above my own experience)
Also, are there are another differences between the dim/set combo and dim as new?
It seems to me that for
dim A as ClassName
set A = New ClassName
_initialize and _terminate are invoked, but for
dim A as new ClassName
they aren't.
Is this a 'feature' or am I just missing something?
(btw: I looked in the docs and couldn't find anything under 'class' or 'initialize' or anything else relevant, so I'm running on 0 information above my own experience)
Also, are there are another differences between the dim/set combo and dim as new?