Posts: 127
Threads: 9
Joined: Oct 2004
I have this sub here, and I want to pass a string array as a parameter to it. How do I do this? The sub is declared as STATIC, if that makes any difference.
Any help will be greatly apreciated
If swimming is so good for your figure, how do you explain walruses?
Posts: 525
Threads: 23
Joined: Oct 2004
WEll assuming the following code:
Code:
DIM MyArray(10) AS STRING
' You'd call the sub this way
DoSomethingWithStrings MyArray()
' The sub would be declared as :
SUB DoSomethingWithStrings(StringArray() AS STRING)
' Put Parenthesis in the parameter up here.
END SUB
Hope this helps
Posts: 127
Threads: 9
Joined: Oct 2004
Thanks MystikShadows, it worked for me
If swimming is so good for your figure, how do you explain walruses?
Posts: 525
Threads: 23
Joined: Oct 2004
You're very welcome :-) Glad I could help. Feel free to ask any other question you have :-).