
March 17th, 2004, 10:14 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
pass array through a function
Hi,
I'm trying to pass an array of classes through a function
and then access these the other side.
for instance (in psuedo code)
redim Array()
for 0 to array end fill with data (these happen to be classes)
but not sure that should make any difference?!)
someFunction(array())
function someFunction(data)
response.write data(0).property
end function
which doesn't work although data.property does if I specify which
part of the array I'm passing i.e. someFunction(array(1))
|