[thelist] ASP: passing objects ByRef

Tab Alleman Tab.Alleman at realmetros.com
Mon Apr 22 09:41:01 CDT 2002


In ASP/VBScript, when passing Object-type variants to a function, is it
a good idea to pass it ByRef as opposed to ByVal to avoid unwanted
object proliferation and persistence?  Or should it be passed ByVal (or
without specification) and destroyed (Set Object = Nothing) in the
function?  Or should I pick "c."?



More information about the thelist mailing list