What is the syntax to pass an array to a function ?
CheersVB? C#?
Here is VB
Dim myArray(10) as string
Dim returnVal as integer
returnVal = myFunction(myArray)
...
Private Function myFunction(passedArray() as string) as Integer
return passedArray.Length
End Function
0 comments:
Post a Comment