Kip Posted December 28, 2007 Share Posted December 28, 2007 hi. short question: How can I create a user defined function with unlimited parameters, like BitOR ( without the limitation of 255 values ) thnx, Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
weaponx Posted December 28, 2007 Share Posted December 28, 2007 Dim $myArray[3] = ["Red","Blue","Green"] $myString = SimpleArrayToString($myArray) MsgBox(0,"",$myString) Func SimpleArrayToString($theArray) $string = "" For $X = 0 to Ubound($theArray) - 1 $string &= $theArray[$X] Next Return $string EndFunc Link to comment Share on other sites More sharing options...
Kip Posted December 28, 2007 Author Share Posted December 28, 2007 that is just one parameter: the array. i want something like this: Func Unl($param1, $param2, ... , $paramN) MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
weaponx Posted December 28, 2007 Share Posted December 28, 2007 There is no way to do that in AutoIt without an array. Link to comment Share on other sites More sharing options...
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