[thelist] ASP/VBScript question

Anthony Johnston . Antix tech at antix.co.uk
Thu Oct 10 12:47:01 CDT 2002


have you looked at recordset.clone?

Other objects are always referenced,  and not
destroyed until all references are freed.

Ant.

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of
David.Cantrell at Gunter.AF.mil
Sent: 10 October 2002 18:36
To: thelist at lists.evolt.org
Subject: [thelist] ASP/VBScript question


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
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !




More information about the thelist mailing list