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

Question on array functions

$
0
0
Hi,

I was not sure how to title this topic, so if you have a better title, feel free to rename it.

Say, that I have this function:

[ autoit ]      
Func Pos(ByRef $Item) Local $Pos[2] $Pos[0] = Floor(($Item)/10)*76+38 $Pos[1] = Mod($Item,10)*105+30 Return Pos EndFunc

Would it be possible to use this function directly as an array, doing something like:

[ autoit ]      
Pos(1)[0]

Thanks in advance!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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