I have a function with an array inside:
Function newFunction()
Dim newArray(1,1)
newArray(0,0) = "1"
newArray(1,0) = "2"
newArray(0,1) = "3"
newArray(1,1) = "4"
newFunction = newArray
End Function
I want to be able to call this function on another page and write the results like this:
<%= newFunction(1,0) %>
and this should write out: 2
I keep getting the error "Wrong number of arguments or invalid property assignment" when I do this. How can this be done?