How to pass a Function returning an array as a parameter
- From: Guillermo López-Anglada <guillermo@[delete]lopez-anglada.com>
- Date: Fri, 05 May 2006 22:36:15 +0200
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
.
- Follow-Ups:
- Prev by Date: Re: Clear All Form Fields?
- Next by Date: Re: How to pass a Function returning an array as a parameter
- Previous by thread: Reading textfile
- Next by thread: Re: How to pass a Function returning an array as a parameter
- Index(es):
Relevant Pages
|