Android Question How do I return a string array?

techknight

Well-Known Member
Licensed User
Longtime User
I know this might seem steight forward but I have an array of length 2 that contains strings, but not sure how to return it from subroutine.

Return arrayvariable gives me a an object converted to string error.

And if I do Dim arrayreturn() as Array = Arraysub I get types do not match.

any ideas? I think I am overlooking something.
 

techknight

Well-Known Member
Licensed User
Longtime User
Ah. darn it. I forgot the paranthesis on the end of the sub. Figured it had to be something simple.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…