PantZ4 Posted March 4, 2007 Share Posted March 4, 2007 For $x = 0 To $Numberofgroups Step 1 $Controlgroupheigth[$x] = (($Controlgroupcontainsmax[$x]-$Controlgroupcontainsmin[$x])*25)+30 NextoÝ÷ ÙV«¦åzÀÞrV«yÖµêè׫jëh×6Local $Numberofgroups = 7 Dim $Controlgroupcontainsmax[$Numberofgroups], $Controlgroupcontainsmin[$Numberofgroups], $Controlgroupheigth[$Numberofgroups] The error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $Controlgroupheigth[$x] = (($Controlgroupcontainsmax[$x]-$Controlgroupcontainsmin[$x])*25)+30 $Controlgroupheigth[$x] = ((^ ERROR Can't see what I "exceeded"... Thank you Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 4, 2007 Moderators Share Posted March 4, 2007 Dim $Controlgroupcontainsmax[$Numberofgroups +1], $Controlgroupcontainsmin[$Numberofgroups +1], $Controlgroupheigth[$Numberofgroups +1] Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PantZ4 Posted March 4, 2007 Author Share Posted March 4, 2007 Dim $Controlgroupcontainsmax[$Numberofgroups +1], $Controlgroupcontainsmin[$Numberofgroups +1], $Controlgroupheigth[$Numberofgroups +1] So simple yet so stupid Thank you SmOke_N! 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