[thelist] ASP/VBScript question
David.Cantrell at Gunter.AF.mil
David.Cantrell at Gunter.AF.mil
Thu Oct 10 12:36:05 CDT 2002
Is it possible to return an object ByVal from a function, instead of ByRef?
I know you can pass them into a function ByVal or ByRef, but I specifically
want to return an object ByVal.
Alternately, is it possible to retrieve an object ByVal when using a Set
statement, e.g. "Set obj = MyClass.Recordset" returns a copy of "Recordset"
instead of a reference to it? When MyClass is destroyed, so is the reference
internally to Recordset, and if Recordset is destroyed, the reference set
with obj is destroyed as well.
Thanks,
-dave
More information about the thelist
mailing list