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

Global Variables

$
0
0
I need to create a bunch of global variables to assign to a load of progress bars.  Issue is I dont know how many I will need and this number will change depending on the situaton.

I have an array that holds entries for applications names app1, app2, app3 etc.  I want to create a progress bar for each app.

The way I am trying to go about this is to read the array containing the list of apps and assign a global variable to it based on the name of the app.

Example would be the progress bar global variable for app1 would be $progressBar_App1

I am moving down the array reading the first column containing the app name and planning to put the name of the variable in a second column along side that.  I am not asking for help creating a multi row array as this is not the issue.  My issue is getting my gead around how I decalre a variable that is stored in the array next to the app it belongs to to allow me to update the progress bar belonging to that app.

Hope this makes sense.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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