G
Guillermo López-Anglada
Hello,
If a have a function which returns a multidimensional array. How can I
pass it as parameter for a subprocedure?
Here's a skeleton of my code:
Function CreateAnArray()
'code to fill a resizable array called MyArray() as String
CreateAnArray = MyArray()
End Function
Sub UseOneArray(OneArray() as String)
'do things with OneArray()
End Sub
Call UseOneArray (CreateAnArray)
This code doesn't work. I'd appreaciate any help in order to do that.
Regards,
Guillermo
If a have a function which returns a multidimensional array. How can I
pass it as parameter for a subprocedure?
Here's a skeleton of my code:
Function CreateAnArray()
'code to fill a resizable array called MyArray() as String
CreateAnArray = MyArray()
End Function
Sub UseOneArray(OneArray() as String)
'do things with OneArray()
End Sub
Call UseOneArray (CreateAnArray)
This code doesn't work. I'd appreaciate any help in order to do that.
Regards,
Guillermo