Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

is there a way to pass an array to a function directly like function(["one","two","three"])?

$
0
0
is there a way to pass an array to a function directly like function(["one","two","three"])?

In some cases I don't have to use the array outside the  the function so I would like to avoid to do an array declaration before calling the function:

local $array = ["one","two","three"]
function($array)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>