Jump to content

incrementing the variable name


Recommended Posts



$size = ubound ($array) - 2
for $i = 0 to $size step +1


$read = _GUICtrlTreeView_Add($hTreeView, 0, StringFormat($Array[$i]))

so this runs through an array and sets it to tree view just fine. I would like to increment $read in some fashion (any fashion), so that if I were to do this in a loop each individual line would have its own variable.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...