I want to code a function that accepts an array as an argument. Then the function fills some elements. Finally, the array filled by the function becomes visible from the caller.
sub main1()
Dim A(1,3) as string
F(A) '???How to get the value of each array element here?
...
End Sub
Function F(X(1,3) as string) string()
X(1,1)=3.14
End Function
I looked at the following post but did not get it, somehow the questions are not the same.