AustrianOak Posted July 31, 2008 Share Posted July 31, 2008 What If I had three variables like this: $Var1 $Var2 $Var3 How could I use a For loop to count up each one's variable name and then you that counting variable to lets say hide each control? Link to comment Share on other sites More sharing options...
Paulie Posted July 31, 2008 Share Posted July 31, 2008 Use an Array. Link to comment Share on other sites More sharing options...
AustrianOak Posted July 31, 2008 Author Share Posted July 31, 2008 As in this: ? $Var1[0] $Var2[1] $Var3[2] Link to comment Share on other sites More sharing options...
Paulie Posted July 31, 2008 Share Posted July 31, 2008 More like this: Dim $Var[5] For $i = 0 to 4 $Var[$i] = $i Next Link to comment Share on other sites More sharing options...
AustrianOak Posted July 31, 2008 Author Share Posted July 31, 2008 thank you paulie. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now