[RESOLVED] is this possible??? returning two arrays back from a function
Hi guys
I pass a list and an array to a function. Now i was wondering whether it was possible to return both of these back when the function has finished what it is doing?
(I am using .net compact framework 2.0)
Re: is this possible??? returning two arrays back from a function
Send them into the function ByRef instead of ByVal and set the function as a boolean. You can test the function then to see if it succeeded or not and your list and array come back either way.
D
Re: is this possible??? returning two arrays back from a function
Of course! Silly me! :p I completely forgot bout ByRef!
But i dont need to test the function, i just need it to do something. Actually i just realised that i only need it to return the array.....the list doesn't change! lol I'm an idiot! lol Sorry for wastin people's time! I think i need to leave work now! lol (Only an hour left!) lol
Thanks again