nitron Posted November 28, 2007 Posted November 28, 2007 Hello, I am facing a prob. I need to return an array from a subroutine... I know that this must be posible, for in Stringsplit a Array is returned... can somebody tell me how to do that? THX Nitron
Emperor Posted November 28, 2007 Posted November 28, 2007 Here's a small example:Dim $MyVar = MyFunc() MsgBox(0, "Notice", $MyVar[0] & ", " & $MyVar[1]) Func MyFunc() Local $Ret[2] $Ret[0] = 1 $Ret[1] = 2 Return $Ret EndFunc
nitron Posted November 28, 2007 Author Posted November 28, 2007 Thanks :-) this was what i needed :-)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now