Hi all
I have write a function that will return a multi dimensionnal array. But i dont know how to write it in the calling program. Can someone help ?
Sample (doesnt work):
[code]
Dim tabResult() as variant
tabResult = MyFunction()
Functio MyFunction() as variant
ReDim MyFunction( 10, 5)
MyFunction(0,1) = "blabla"
[/code][code]MyFunction(0,2) = 10
// and so on...
[/code][code]Return MyFunction
It just might be a typo in your posting, but the third line in your code has an error in that you misspelled Function
"Functio MyFunction() as variant"
Cheers
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 2  Replies