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

[Solved] Variable Array Names

$
0
0

I have a bit of a problem that ive been trying to sort out, and cant seem to find the information.

 

I have a situation like this:

$Array1[3] = [ "List1", "List2", "List3" ] $List1 = _FileListToArray("xxx")$List2 = _FileListToArray("yyy") $List3 = _FileListToArray("zzz")

Rather than pointing specifically to the List I want to access, I want to use the string from Array1 to access the List Arrays...

 

How can I access any elements in $List1, $List2, or $List3 with only the STRING "List1", "List2" or "List3" from the Array1 variable.

 

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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