Let's say I have an array as ParentArray1 = Array(0,1,2,3) and defined one of its elements as aunit = ParentArray1(1).
So the numbers given in parantheses give us elements of an array. I am wondering if the reverse is possible.
Is it possible to make a function, or is there any service to take control of ParentArray1 using aunit.
As an example of use, is it possible to make something like this one below.
Code: Select all
Function ParentArray(aunit)
ParentArray(aunit) = ParentArray1
End Function