Sign in to follow this  
Followers 0
Kip

Unlimited Parameters

4 posts in this topic

hi. short question:

How can I create a user defined function with unlimited parameters, like BitOR ( without the limitation of 255 values )

thnx, Kip

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

There is no way to do that in AutoIt without an array.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0