
June 17th, 2003, 06:10 AM
|
|
Contributing User
|
|
Join Date: Jun 2003
Posts: 63
Time spent in forums: 3 h 2 m 39 sec
Reputation Power: 5
|
|
|
Does ASP have the notion of 'this'?
Does ASP support the notion of the current object 'this'? I'd like to be able to do:
Class MyClass
Public Sub addToCache()
Dim localArray
''' Get array from Application object
localArray = Application("myClassArray")
localArray(Ubound(localArray)) = this '''Or something similar
''' Increase size of array by 1 in preparation for next add
Redim Preserver localArray(Ubound(localArray) + 1)
''' Store the modified array back to the Applicaition object
Application("myClassArray") = localArray
End Sub
End Class
Can something like this be done???
|