devxlogo

Passing Arrays to Functions

Passing Arrays to Functions

Question:
How can I pass my array to function as parameter?

Answer:
A declaration would be as follows:

Sub Foo (ArrayVar() as String * 4)
The call to it would be as follows:
Foo ArrayVar()

devx-admin

Share the Post: